Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects › expression delay

  • expression delay

    Posted by Saulera on September 2, 2006 at 12:04 pm

    Hi,
    I need to do a time delay on a layer in AE 3dspace, but only in one parameter {only y}. I do this:

    x=thisComp.layer(“Null 6”).transform.position[0];
    y=thisComp.layer(“Null 6”).transform.position[1]+34;
    z=thisComp.layer(“Null 6”).transform.position[2];
    [x,y,z]

    but, when i put the delay expression it doen`t work, like this:

    x=thisComp.layer(“Null 6”).transform.position[0];
    y=thisComp.layer(“Null 6”).transform.position[1]+34.valueAtTime(t-1);
    z=thisComp.layer(“Null 6”).transform.position[2];
    [x,y,z]

    someone can help me ?
    tks.

    Dan Ebberts
    replied 20 years ago
    2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    September 2, 2006 at 4:58 pm

    You’ve got things in the wrong order for your y definition. It should be more like this:

    y=thisComp.layer(“Null 6”).transform.position.valueAtTime(t-1)[1]+34;

    Is what you posted the entire expression? If so, you’ll need to define “t” to get it to work (or use “time”).

    Dan

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