|
|
Key attributes and methods (expression reference)When you access a Key object, you can get time, index, and value properties from it. For example, the following expression gives you the value of the third Position keyframe: position.key(3).value. The
following expression, when written on an Opacity property with keyframes, ignores
the keyframe values and uses only the placement of the keyframes
in time to determine where a flash should occur:
d = Math.abs(time - nearestKey(time).time); easeOut(d, 0, .1, 100, 0)
|