thisLayer & Master Layers
When creating custom controls within an expression you always have an option to select either 'thisLayer' or a 'master' layer.
Understanding thisLayer and Masters
What Is thisLayer?
If you haven't been writing expressions for long you may be unaware that you can reference a layer with a simple line: thisLayer basically means what it says, this layer.
var target = thisLayer;
target.name;
What Is Master?
A master layer referes to a layer that normally contains effect controlls for properties on other layers. Basically this means you are able to maipulate layers by using the master instead of having to find the layer itself. You can reference a master by doing the following
var master = thisComp.layer("masterLayerName");
master.name;
Expression Set-up
The easiest way to explain how to set-up expressions to use masters or likewise. Head over to this sections
Example ExpressionsLast updated
Was this helpful?