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

24p 30p o 60i ¿Qué frame rate utilizar?
Inertial Bounce Expression For After Effects
Music, the intersection between soul and matter.

Let this be the start of something amazing!

Contact me!

Let's start making amazing content!

@2016 All rights reserved.

TOP