-
creating ‘universal’ variable within a comp
Hello,
I’m looking to expand on an expression.I’ve got a large number of layers referencing the value contained within an expression slider on a control layer.
So when I change the value of that slider, each expression referencing it changes accordingly. No problem here.What I’d like to do now is use another slider effect to create a value that I can then use to say, stagger the values of some of the individual layers.
frame lag, for an example:
thisComp.layer(“layer_x”).transform.rotation.valueAtTime(time-1*thisComp.frameDuration)
EXCEPT, instead of “time-1*thisComp.frameDuration” I’d like to be able to plug in the reference to an second expression slider.
Pardon my syntax but something along the lines of:
“time-(thisComp.layer(“expressionControl”).effect(“variableSlider”).value)*thisComp.frameDuration)Can anyone point me in the right direction? I feel like it’s possible but I’m going about it the wrong way.
Thanks!
B