Returns the name of the active layer of the active clip. An error is generated if there is no clip on the scene.
NLE
getActiveLayer |
None
None
string
The name of the active layer of the active clip
// Print the name of the active clip
string $clip = `getActiveClip`;
print $clip;
// Print the name of the active layer
string $layer = `getActiveLayer`;
print $layer;