Quantcast
Channel: Adobe Community : Popular Discussions - After Effects Expressions
Viewing all articles
Browse latest Browse all 47983

Referencing the expression of another layer

$
0
0
i have a somewhat lengthy expression that will be applied to all transform properties of all layers in a project. i would like to be able to easily update this expression and have that update ripple through all elements using it. my question is: is there a way to dynamically copy the expression of another layer? does the expression field itself have a name that i can use to copy it?

 

i want to do something like this:

thisComp.layer("layer_name").transform.position.expression;

 

where "expression" at the end is whatever the name of the expression field is. any help would be greatly appreciated.

Viewing all articles
Browse latest Browse all 47983

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>