Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Delay expression

  • Delay expression

    Posted by Jan Míka on May 16, 2014 at 7:28 pm

    Hi, does anybody know how to add a delay expression to a null object, which is parented to another null object?
    I have Null 01 which is animated. Just position parameter is changing.
    Null 02 is parented to Null 01 so it moves with it. I need Null 02 to move the same way as it moves now, but with the small delay…
    And… one more thing. This delay should happen in y axis only!
    Any comment will be appreciated!
    Thanks a lot!

    Jan Míka replied 11 years, 12 months ago 2 Members · 2 Replies
  • 2 Replies
  • Walter Soyka

    May 16, 2014 at 8:22 pm

    Null 2 should not be parented to Null 1. Leave it independent.

    Alt-click the position stopwatch and enter something like the following:

    [thisComp.layer("Null 1").transform.position[0],thisComp.layer("Null 1").transform.position.valueAtTime(time-.5)[1]]

    Translation to English:

    Position expects an array of two values, an X and a Y (or three values, X, Y and Z for 3D), so we give it two values in this format: [x,y]

    The first value is the X coordinate of Null 1; the second value is the Y coordinate of Null 1, but evaluated half a second ago via valueAtTime(time-.5).

    Walter Soyka
    Principal & Designer at Keen Live
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    RenderBreak Blog – What I’m thinking when my workstation’s thinking
    Creative Cow Forum Host: Live & Stage Events

  • Jan Míka

    May 19, 2014 at 7:05 am

    Great, this helped me a lot, it´s not exactly what I meant but it was definitely VERY useful! Thank you!

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