-
Expression to reference upper level comp regardless of name?
Is there a way to have an expression look at the properties of the comp that encloses the layer that has it in?
For example, I have this couple comps named Arrow curved an Arrow straight and each of them are used roughly 40 times each on my project, but they are nested in different comps and more importantly each instance has different rotation values.
I need a drop shadow effect applied inside “Arrow” to always point to the right and bottom regardless of what rotation and orientation each specific instance of the layer has, so that if the arrow is pointing downward or upward the shadow is automatically corrected to always be down to the right.
Is there some code similar to comp(“[name of the comp]”) but that instead looks at the upper comp regardless of which one is it every time?
Thanks,
D.