Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Tie one property to another with pick whip but have the layer take say 10 frames longer

  • Tie one property to another with pick whip but have the layer take say 10 frames longer

  • Lori Newman

    December 10, 2013 at 1:55 am

    Hi Everyone,

    I am trying to learn how to do a simple thing with expressions. In this case with scale, but in general if I have a few layers and I pick whip the scale properties to one layer that has 2 scaling keyframes, what syntax do I add to the other layers in the expression if I want them to come in say 10 frames later than the object they are pick whipped to? Thanks in advance.

    Lori

  • Dan Ebberts

    December 10, 2013 at 3:50 am

    valueAtTime() is what you’re looking for. This should give you a 10-frame delay:

    delay = framesToTime(10);
    thisComp.layer(“other layer”).transform.scale.valueAtTime(time-delay);

    Dan

  • Lori Newman

    December 10, 2013 at 4:30 am

    Thank you Dan.

  • Lori Newman

    December 10, 2013 at 5:12 am

    Thank you.

    This works great. The only problem that I’m having is that the objects are lining
    up (position in this case). How do I have one follow the other without landing on top
    of the object that is being followed, so that it keeps it’s position but is a few steps behind
    in time?

  • Dan Ebberts

    December 10, 2013 at 5:43 am

    That’s a little trickier. I think the examples at the bottom of this page will help:

    https://www.motionscript.com/mastering-expressions/follow-the-leader.html

    (see the A Completely Different Approach section).

    Dan

  • Lori Newman

    December 10, 2013 at 5:53 am

    Thanks for your help. I’ll give it a try.

Viewing 1 - 6 of 6 posts

Log in to reply.

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