---
title: "offsetClips"
canonical: "https://help.vicon.com/space/ShogunPost121/1253737528/offsetClips"
format: markdown
---
# Description

Enables you to offset clips in time by a specified number of frames.

The offset is additive, that is, it will add the offset to the existing value of the clip's **Clip_Offset** attribute.

## Functional area

Data manipulators

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `offsetClips "offset timecode" ["clip" ...."clip"]` |

### Arguments

> Macro (scroll-tablelayout)

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `offset timecode` | integer | yes | The number of frames to offset the clip by |
| `clip` | string | no | The clip(s) to offset. May specify multiple clips by name or specify an array of clips. If no clips are specified, then the active clip is offset. |

### Flags

None

## Return value

void

## Examples

```plaintext
// Offset the active clip 50 frames back in time
offsetClips -50;
```

> Macro (scroll-pagebreak)

# Additional information

## Related commands

- [addLayer](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737807)
- [addToClip](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737256)
- [copyClip](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253739720)
- [cropClip](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736523)
- [deleteClipData](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736978)
- [flatten](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738158)
- [getActiveClip](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737428)
- [getActiveLayer](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736484)
- [getClips](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737048)
- [moveClip](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736803)
- [removeFromClip](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736603)
- [removeLayer](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738515)
- [resetClip](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736672)
- [selectClipObjects](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253739060)
- [setActiveClip](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736878)
- [setActiveLayer](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737913)
- [tileClips](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738014)