ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Move Position in increments

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
David Wittlin
Move Position in increments
on Feb 17, 2016 at 9:28:20 pm

I'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.


Return to posts index

Kalle Kannisto
Re: Move Position in increments
on Feb 21, 2016 at 8:19:48 am

x=transform.position[0];
y=transform.position[1]-Math.floor(timeToFrames()/15)*10;
[x,y]


Return to posts index

Kirill Sidewalk
Re: Move Position in increments
on Apr 2, 2016 at 5:29:33 pm

And 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?


Return to posts index


Kirill Sidewalk
Re: Move Position in increments
on Apr 2, 2016 at 5:27:09 pm

And 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?


Return to posts index

Kalle Kannisto
Re: Move Position in increments
on Apr 4, 2016 at 6:38:25 pm

I think you just need to change timeToFrames() to timeToFrames(time-inPoint).


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]