-
How to make an expression “Master Control” layer that allows linked layers to use their own variables?
Basically my question is this. Say I have 3 Layers, “Control” (layer 1), “A” (layer 2) and “B” (layer 3). Say I want the scales of each layer to change based on a value exclusive to itself (in this case the index number). Would there be a way of creating an expression for “Control” that would allow linked layers to use the code in the layer rather than the result of that code?
Say the expression I’m using is “transform.scale*index/2.” If I apply that to layer 1, then the result would be 50% [100% x 1 ÷ 2]. Linking the scale properties of “A” and “B” to the scale property of “Control” however, would result in those layers being 50% too. Is there a way to make it so that the controlled layers use their own index values when taking on the math of the control? So that A & B would be 100% and 150%, respectively?