Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Moving a layer over time

  • Moving a layer over time

    Posted by Erin Shelby on August 27, 2010 at 3:03 am

    Hi,

    Just as a starting point, I want a solid to move to a certain value (let’s say from 0,100 to 0,300) over time on it’s own and stop when it hits its correct value (0,300).

    I’d also like this ‘move’ to happen over a specific time (between seconds 7-10 let’s say), and finally if there is a way to ‘ease’ the movement, make the movement slow down at the end, that would be my intent.

    Would anyone have a link or anywhere I could start with this?

    Erin Shelby replied 15 years, 8 months ago 2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    August 27, 2010 at 3:46 am

    This position expression should do the trick:

    easeOut(time,7,10,[0,100],[0,300])

    Dan

  • Erin Shelby

    August 27, 2010 at 4:23 am

    thanks! it does work. however, I thought I could place the expression after a ‘wiggle’ expression I found that wiggled the layer. The end effect being a wiggle, then the layer moves afterwards. Is this possible? I have put the code below, perhaps you can see my intent.

    timeToStart = 8;
    timeToStop = 12;

    if ((time > timeToStart) && (time < timeToStop)){
    w = wiggle(7, 28);
    [value[0],w[1]];
    }else{
    value;
    }

    ease(time,12,15,[value[0],value[1]],[value[0],600])

  • Erin Shelby

    August 27, 2010 at 4:45 am

    ah, never mind I think I figured out a way to do it. Thanks for the help thus far!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy