Copy link to clipboard
Copied
I'm looking for a script that will move position for a set amount per frame. For example, I'd like to move the y position by 45 units every frame...
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I think I misspoke. I'm not seeing how this script would do what I need. I'm actually looking for an expression that will move the position a set amount of pixels every frame. For example add 45 pixels to the position on every frame. So, if frame 1=0, frame 2=45, frame 3=90, frame 4=135 and so on. Hopefully a way to do this without keyframes?
Copy link to clipboard
Copied
Maybe a position expression like this:
y = timeToFrames(time)*45;
[value[0],y]
or like this to start at the layer's original position:
yOffset = timeToFrames(time)*45;
value + [0,yOffset]
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more