-
Utilizing the max value of a slider in an expression
I am working on a project and I can’t figure out for the life of me figure out a way to link a property to the max level of a slider. My expression is below.
I am trying to change the value from 500 to the max value of the Bar 1 Control Layer slider. That way I can dynamically change the value of the one slider and not have to recode everything if the values change.
v=thisComp.layer("Bar 1 Control Layer").effect("Slider Control")("Slider");
m= v/500*100;x=scale[0];
[x,m]