Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions expression for move an other layer

  • expression for move an other layer

    Posted by Patrick Blot on June 9, 2006 at 4:46 pm

    hello i want make an expression to move a second layer with the frame rate of the first layer, start at specific keyframe.
    example : layer A at key 25 (x) position = 384, at key 50 (x) position = 502, the layer A move at (502-384)/(50-25)= 4.72 pixel by image
    i want the layer B start move at key 25 and continue to move to the length of comp at 4.72 pixel by image

    thanks for your help

    Mylenium replied 20 years, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • Mylenium

    June 9, 2006 at 5:58 pm


    if (time < timeToFrames (25)) {x=384} else {x=384+4.72*(timeToFrames(time)-25)}

    Mylenium

    [Pour Myl

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