---
title: "addToClip"
canonical: "https://help.vicon.com/space/Shogun110/13075137/addToClip"
format: markdown
---
# Description

Use this command to add selected modules to the currently active clip or to add specific modules to specific clips.

When modules are added to the specified/active clip they do not carry over any animation from any other clip. The modules exist with only their constant values.

## Functional area

Data manipulators

# Command syntax

## Syntax

|  |
| --- |
| `addToClip ["module" ...] [-toClip string]` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `module1` | string | no | Name(s) of the module(s) to add to the clip. You may pass in a string array containing a list of modules to add to the clip. You can also pass in multiple strings. If no strings/arrays are specified, then all Modules will be added to the clip (or selected modules, if you specify the -selected flag. |

### Flags

| **Name** | **Flag arguments** | **Argument type** | **Exclusive to** | **Comments** |
| --- | --- | --- | --- | --- |
| `toClip` | 1 | string | — | Name of the clip you want the modules to be added to. If not specified, then modules will be added to the active clip. |

## Return value

void

## Examples

```plaintext
// create a Clip and a Marker
create Clip "clip1";
create Marker "marker1";
 
// create a 2nd Clip
create Clip "clip2";
 
// add marker1 to clip2
addToClip marker1 -toClip clip2;
```

# Additional information

## Related commands

- [addLayer](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075119)
- [copyClip](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075211)
- [cropClip](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075279)
- [deleteClipData](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075297)
- [flatten](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075373)
- [getActiveLayer](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075383)
- [getClips](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075417)
- [moveClip](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075725)
- [offsetClips](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075735)
- [removeFromClip](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075805)
- [removeLayer](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075807)
- [resetClip](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075829)
- [selectClipObjects](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075871)
- [setActiveClip](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075907)
- [setActiveClip](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075907)
- [setActiveLayer](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13075909)
- [tileClips](https://vicon-help.atlassian.net/wiki/spaces/Shogun110/pages/13076135)