Forums › Adobe After Effects Expressions › Finding value of a keyframe
Finding value of a keyframe
Dennis Cheung
March 18, 2020 at 10:27 pmHi
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 pmSomething like this:
myKeyValue = transform.xPosition.key(2).value;
or (if dimensions aren’t separated):
myKeyValue = transform.position.key(2).value[0];
Dan
Viewing 1 - 2 of 2 posts
Log in to reply.