-
Pixel Per second Expression with manual stop at the end
Hi
I was using this expression to create a slideshow of images moving across the screenveloc = 150; //Move object 150 pixel on x axis per second
x = position[0] + (time – inPoint) *veloc;
y = position[1];
[x,y]However I would like to be able to come to a stop at the end, I tried linking the 150 to a slider but when i animate this to zero it sends the whole thing back to the beginning.
Reason for this is that I want consistent speed of images in different comps, however some comps have more or fewer images.
Thanks in advance