Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions AE Delay Expression

  • AE Delay Expression

    Posted by Michael Giegerich on November 13, 2009 at 11:16 am

    Hi there,

    I have a question concerning moving things with expression. I am quiet new to the use of expressions so please appologise all dumb mistakes =)

    I want to move multiple Objects in their Z Position using expression. That for I have attached the Z to a Slider. My problem now is that I would like Object 1 to move for example at time 0, Object 2 to move at time 1, Object 3 to move at time 3 and so on. Is there any way to just delay something?

    thanks for all your help

    cheers

    Michael

    temp = thisComp.layer("WeiÃ

    Michael Giegerich replied 16 years, 5 months ago 3 Members · 6 Replies
  • 6 Replies
  • John Cuevas

    November 13, 2009 at 3:11 pm

    Drag your low res logo on to the new comp button, making a new comp with the size & aspect of your small logo(Precomp Logo).

    In your animation. Precomp each layer, checking the “leave all attributes” box.

    Import new larger res version and bring it into “Precomp Logo”. Lower the opacity to 50% and eyeball/scale it to match the size of the small logo. If the anchor points are the same, or you know that it’s 2x the size this will be easy. Once you have it matched, bring the opacity back to 100 & delete low res version.

    Select each of the precomp layers in your main animation, select “Precomp Logo” from your project window, hold down alt and drop on one of the layers. Should change all your layers to the new precomp. Now just use the “collapse layers/continuously rasterize” button and scale up to your hearts content.

    Johnny Cuevas, Editor
    http://www.ckandco.net

  • John Cuevas

    November 13, 2009 at 3:11 pm

    Sorry posted that in the wrong forum…

    Johnny Cuevas, Editor
    http://www.ckandco.net

  • Xinlai Ni

    November 13, 2009 at 4:30 pm

    your expression was truncated, can you please paste again?
    Thanks.

    Xinlai Ni
    Software Engineer, Google Inc.

  • Michael Giegerich

    November 13, 2009 at 5:14 pm

    Hi Xianli,

    it was not really any special expression. I just linked the Z position of a solid to a slider control.
    Is that possible to have it delayed like I described above somehow?

    thanks

    michael

  • Xinlai Ni

    November 13, 2009 at 7:13 pm

    I guess I didn’t understand how you want to specify the movement. Are you trying to manually move the slider around hoping to see your layers move their Z-coordinates accordingly? Are you going to control your slider by key-frames at the end? If all you need is a delay of the layer’s movement with respective the corresponding z-slider’s value, you can simply move valueAtTime as below (for each layer’s position property).

    x = yourX;
    y = yourY;
    z = thisComp.layer("Control").effect("Slider")(1).valueAtTime(time - yourDelay);
    [x, y, z]

    This works only when your slider is animated somehow, e.g., via keyframing.

    Xinlai Ni
    Software Engineer, Google Inc.

  • Michael Giegerich

    November 17, 2009 at 12:24 am

    hi xianli,

    thanks for your post…that was exactly what I need.

    thx

    michael

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