---
title: "restoreGaps"
canonical: "https://help.vicon.com/space/ShogunPost115/276212023/restoreGaps"
format: markdown
---
# Description

Restores gaps from a named clip and enables you to specify whether to restore all gaps or those in the currently selected range(s) only.

## Functional area

Data Editing

# Command syntax

## Syntax

|  |
| --- |
| `restoreGaps ["targetClip"][-all] [-ranges]` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `targetClip` | string |  | Name of clip from which to restore gaps |

### Flags

See above syntax.

## Return value

void

# Additional information

## Related commands

- [fillGaps](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276204001)
- [findGap](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276211907)
- [getGaps](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276202951)