Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Finding value of a keyframe

  • Finding value of a keyframe

  • Dennis Cheung

    March 18, 2020 at 10:27 pm


    How do I load the value of a keyframe into a variable?
    For example: I have 4 keyframes in the position[0] property, I want to take the second keyframe’s value and put it in a variable.

    Thank you for your time,
    Keep your hands and keyboard clean!

  • Dan Ebberts

    March 18, 2020 at 10:36 pm

    Something like this:

    myKeyValue = transform.xPosition.key(2).value;

    or (if dimensions aren’t separated):

    myKeyValue = transform.position.key(2).value[0];


Viewing 1 - 2 of 2 posts

Log in to reply.

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