/
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

NameTypeRequiredComments
moveClipstringyesThe clip that you want to move
insertAfterClipstringyesThe clip that you want the moveClip to be located under in the clip list.

Flags

NameFlag argumentsArgument typeExclusive toComments
up0downMoves 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
down0upMoves 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