Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

Description

Returns the name of the active layer of the active clip. An error is generated if there is no clip on the scene.

Functional area

NLE

Command syntax

Syntax

getActiveLayer

Arguments

None

Flags

None

Return value

string

The name of the active layer of the active clip

Examples

// Print the name of the active clip
string $clip = `getActiveClip`;
print $clip;

// Print the name of the active layer
string $layer = `getActiveLayer`;
print $layer;

Additional information

Related commands

  • No labels