Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Custom ‘Pastable’ Parallax Expression?

  • Custom ‘Pastable’ Parallax Expression?

    Posted by Darryl Torke on September 16, 2014 at 4:30 pm

    I have a background layer that moves steadily from left-to-right, I have a few layers parented to that layer, but would like those layers to move slightly faster left-to-right to give a slight parallax effect. Would there be an expression that I could paste into the position of the above layers that could reference the movement of the original layer to give this effect?

    Darryl Torke replied 11 years, 7 months ago 2 Members · 2 Replies
  • 2 Replies
  • Kevin Camp

    September 16, 2014 at 7:24 pm

    you could try something like this:

    rate = .1
    value + (parent.position.velocity*time*rate);

    adjust rate as needed, positive values will make the layer go faster than the parent, negative values will make it go slower than the parent.

    if there is no parent, you will get an error.

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Darryl Torke

    October 1, 2014 at 7:46 pm

    Sorry for the delay, but thanks very much!

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