ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Using layers source name ?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Anders Hattne
Using layers source name ?
on Sep 1, 2014 at 4:18:59 pm

Is it possible to use a layer's Source name in an expression?
The layer's "layer name" is "1 a" and many others are called so as well, so I'm trying to use it's source name (which will be unique) in order to controll an animation.

The expression I'm using is in a nested comp, and I'm also trying to get the name of the composition where the current one is nested in. Is that possible?

Many thanks!

Return to posts index

Dan Ebberts
Re: Using layers source name ?
on Sep 1, 2014 at 4:57:55 pm

You can get a layer's source name (if it has one) like this:


An expression can only access another comp by name, so no, there's no way for an expression to access the outer comp, then get its name.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 All Rights Reserved