Copy link to clipboard
Copied
Hi guys, please tell me how to solve it. We have a shape with X Position and Y Position, the Y Position value is set via slider control. How to make Y Position change from 0 to this value, but only without keyframes in slider control?
So you have the position dimensions separated, is that correct? If so, then maybe something like this for Y Position:
s = effect("Slider Control")("Slider");
tStart = 2; // time to start move
dur = 1; // move duration
linear(time,tStart,tStart+dur,0,s);
Copy link to clipboard
Copied
So you have the position dimensions separated, is that correct? If so, then maybe something like this for Y Position:
s = effect("Slider Control")("Slider");
tStart = 2; // time to start move
dur = 1; // move duration
linear(time,tStart,tStart+dur,0,s);