/
getActiveLayer
getActiveLayer
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
, multiple selections available,
Related content
getLayers
getLayers
More like this
getActiveClip
getActiveClip
More like this
addLayer
addLayer
More like this
getClips
getClips
More like this
removeLayer
removeLayer
More like this
setActiveClip
setActiveClip
More like this