Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects What’s wrong with this expression?

  • What’s wrong with this expression?

    Posted by Don Jangeman on January 24, 2006 at 8:07 pm

    yes, I can be stupid, but so badly that I don’t even understand it. Can you explain it to me?

    I have an expression on the position of a layer:

    [thisComp.layer(“Null 1”).position[0].valueAtTime(time-1),thisComp.layer(“Null 1”).position[1].valueAtTime(time-2),thisComp.layer(“Null 1”).position[2].valueAtTime(time-3)]

    Now AE6.5 tells me the first function (and the others as well) are undefined. Is there a proper way to affect single co-ordinates with the valueAtTime?

    thnxs!!!

    Don Jangeman replied 20 years, 7 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    January 24, 2006 at 8:28 pm

    Try putting the index last, like this:

    [thisComp.layer(“Null 1”).position.valueAtTime(time-1)[0],thisComp.layer(“Null 1”).position.valueAtTime(time-2)[1],thisComp.layer(“Null 1”).position.valueAtTime(time-3)[2]]

    I didn’t try it, but I think that’s right.

    Dan

  • Don Jangeman

    January 24, 2006 at 8:37 pm

    Mr. Ebberts!!! himself! (heavenly music rises) Hallelujah! (brass section rises) You are WONDERFULL!!! .

    Thnx soooo much! it works!

    gr. Don

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