Carlos Yasik

  • PORTFOLIO
  • BLOG
  • CONTACT
  • CUSTOM REEL SCENES
  • MARKETING STRATEGIST AND CREATIVE
  • CINEMATOGRAPHER
  • EDITOR AND VFX
  • VOICE-OVER / LOCUTOR
yasik@yasikcreativestudio.com'
Carlos Yasik
Monday, 31 August 2020 / Published in Blog, Filmmaking, Motion Graphics

Display Active Layer Name – After Effects Expression

Use this script on a Text Layer to show the active layer name.

txt = “”;
for (j = 1; j <= thisComp.numLayers; j++){ if (j == index) continue; L = thisComp.layer(j); if (! (L.hasVideo && L.active)) continue; if (time >= L.inPoint && time < L.outPoint){
try{
txt = L.source.name;
}catch(err1){
txt = L.name
}
break;
}
}
txt

}

  • Tweet
Tagged under: action script, active layer, after effects, expression

What you can read next

Inertial Bounce Expression For After Effects
Ventajas de contar un canal de video en YouTube
¿Por qué contratarme? El valor de la emoción.

Let this be the start of something amazing!

Contact me!

Let's start making amazing content!

@2016 All rights reserved.

TOP