---
title: "restoreGaps"
canonical: "https://help.vicon.com/space/ShogunPost121/1253737127/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

> Macro (scroll-tablelayout)

|  |
| --- |
| `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/ShogunPost121/pages/1253738229)
- [findGap](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736657)
- [getGaps](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737457)