Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Y axis movement with pause

  • Y axis movement with pause

    Posted by Ian Radcliffe on November 2, 2009 at 12:10 pm

    Hi
    I am brand new to After Effects – working on my first project.
    I am trying to create a text list that moves vertically upwards (say 15 pixels) then pauses for half a second then moves vertically again.
    This action will keep looping indefinitely.

    Is this something you can do with expressions, or will I have to key frame it all?

    Thanks in advance for any help.

    Ian Radcliffe replied 16 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Xinlai Ni

    November 2, 2009 at 6:07 pm

    Try the following for the position property of your text layer:

    xPos = 500; // or your own value
    startY = 500; // or your own value
    deltaY = 15;
    yPos = startY - Math.floor(time) * deltaY;
    linear(time % 1, 0, 0.5, [xPos, yPos], [xPos, yPos - deltaY])

    Xinlai Ni
    Software Engineer, Google Inc.

  • Ian Radcliffe

    November 3, 2009 at 1:27 pm

    Thanks Xinlai Ni – that is EXACTLY what I was after!
    After I tweaked the figures it worked perfectly.
    That saved me about two days worth of key framing.

    Thanks again.

    Ian Radcliffe
    Digital Designer, Gyro:HSR

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