/
moveClip
moveClip
Description
Moves the specified clip under another specified clip.
Useful when you are trying to organize your clips in a particular required structure.
Functional area
Data manipulators
Command syntax
Syntax
moveClip "moveClip" ["insertAfterClip"] [-up] [-down] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
moveClip | string | yes | The clip that you want to move |
insertAfterClip | string | yes | The clip that you want the moveClip to be located under in the clip list. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
up | 0 | — | down | Moves the clip up from its current position in the clip list. Will error if the clip is already at the top of the clip list |
down | 0 | — | up | Moves the clip down from its current position in the clip list. Will error if the clip is already at the bottom of the clip list |
Return value
void
Examples
// This snippet creates 3 Clips then moves clip_C under clip_A create Clip "clip_A" "clip_B" "clip_C"; moveClip clip_C clip_A; // This will move clip_B to the top of the list moveClip clip_B -up;
Additional information
Related commands
, multiple selections available,
Related content
setActiveClip
setActiveClip
More like this
tileClips
tileClips
More like this
offsetClips
offsetClips
More like this
addLayer
addLayer
More like this
getClips
getClips
More like this
flatten
flatten
More like this