Activity › Forums › Adobe After Effects › Move Position in increments
-
Move Position in increments
Posted by David Wittlin on February 17, 2016 at 9:28 pmI’m trying to move the Y position up 10 pixels every 15 frames in increments. I haven’t had any luck finding an expression that’s working.
Kalleheikki Kannisto replied 10 years, 1 month ago 3 Members · 4 Replies -
4 Replies
-
Kalleheikki Kannisto
February 21, 2016 at 8:19 amx=transform.position[0];
y=transform.position[1]-Math.floor(timeToFrames()/15)*10;
[x,y] -
Kirill Sidewalk
April 2, 2016 at 5:27 pmAnd how to make this expression start to work at the specific frame when my layer is active in the timeline, and not from begining of composition?
-
Kirill Sidewalk
April 2, 2016 at 5:29 pmAnd how to make this expression start to work at the specific frame when my layer is active in the timeline, and not from begining of composition?
-
Kalleheikki Kannisto
April 4, 2016 at 6:38 pmI think you just need to change
timeToFrames()totimeToFrames(time-inPoint).
Reply to this Discussion! Login or Sign Up