-
storing property info into a variable
I am working on an expression that allows many animated properties of a layer to be driven by the same properties of a master layer. I’d be applying this expression to many layers with many animated properties. But I am trying to store this in one universal expression to avoid excessive pickwhipping.
For example, when the expression is applied to the property:
layerStyle.outerGlow.opacity
the expression should automatically reference the same property of the master layer.
I think I need to store the property’s full name into a variable, but using ‘thisProperty.name’ would only give me “opacity” in this example.
Any ideas? Is there some basic function for this that I just haven’t found?