Skip to content

Instantly share code, notes, and snippets.

@Arslan-TR
Last active September 15, 2021 08:55
Show Gist options
  • Save Arslan-TR/0621952b256dff3d60008ac3c221be94 to your computer and use it in GitHub Desktop.
Save Arslan-TR/0621952b256dff3d60008ac3c221be94 to your computer and use it in GitHub Desktop.
After effects, show active layer name on screen
// After effects, Auto show layer name on screen:
// *set it to source of text layer.
// I bleave that its usefull when u render a test of editing-montage.
txt = "";
for (i = index+1; i <= thisComp.numLayers; i++){
L = thisComp.layer(i);
if (! (L.hasVideo && L.active && L.opacity > 0)) continue;
txt = L.name;
break;
}
txt
//
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment