-
Shape layer Rectangle path time duration and size control by slider
Hi all
How to Shape layer Rectangle path time duration and size control by the sliders
I’m using two sliders 1 for time duration and 1 for Percentage Value
I use this expression but it is not work as we want
m = thisComp.layer(“Animation Duration”).effect(“Animation Duration”)(“ADBE Slider Control-0001”);
h = thisComp.layer(“Values”).effect(“Percent Value”)(“ADBE Slider Control-0001”);
linear(m,0,100,[0,150],[h,150])The main problem is Shape layer Rectangle size is x=1800, y150 so y is fixed but “x” control by slider
slider value is 0 X value 0, slider value 100 x value 1800
I attached a screen shot for better understand

Thank you