Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions reference specific frame

  • reference specific frame

    Posted by Alex Harding on January 12, 2011 at 10:58 am

    Hi,

    How can I reference a variable at a specific frame, rather than the current frame?

    In Nuke it would be:

    result=variable(frameNumber)

    which would look at the variable at the frame number in parentheses.

    ie you could do

    result=variable(time-10)

    to make the animation delay by 10 frames

    Thanks!

    Alex

    Alex Harding replied 15 years, 4 months ago 3 Members · 4 Replies
  • 4 Replies
  • Michael Szalapski

    January 12, 2011 at 2:25 pm

    I think the AE equivalent would be valueAtTime.
    This page covers it and this example uses it.

    – The Great Szalam
    (The ‘Great’ stands for ‘Not So Great, in fact, Extremely Humble’)

    No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.

  • Alex Harding

    January 12, 2011 at 2:58 pm

    that is a very useful page

    thanks very much

  • Dan Ebberts

    January 12, 2011 at 5:24 pm

    valueAtTime() won’t help you with variables, just properties. Variables don’t persist from frame to frame.

    Dan

  • Alex Harding

    January 12, 2011 at 6:13 pm

    my bad, i actually meant properties

    thanks

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