Move a layer through the comp

Moderators: Disciple, zlovatt

Post Reply
malex
Posts: 20
Joined: May 21st, 2004, 3:03 pm

Problem : How to move a layer through a comp, ease the movement, and make it start at a given time?

Solution (posted by Dan Ebberts on November 10 2002)

Say you wanted your layer to move from the upper
left hand corner to the lower right hand corner of a 640x480 comp. You want
this motion to start 3 seconds into the comp (with ease-in) and end at 5
seconds into the comp. This should do it:

ease_in(time,3,5,[0,0],[640,480])

The layer will stay at [0,0] until 3 seconds, then ease into a linear
motion, arriving at [640,480] at 5 seconds and remaining there for the
duration.
Post Reply