Skip to content

Function: InterpolateAnimationKeys() ​

ts
function InterpolateAnimationKeys(
   valueType, 
   interp, 
   k0, 
   k1, 
   t
): AnimationValue;

Value between two adjacent keys at t (0..1 across the segment). Step types and constant segments hold the first key's value.

Parameters ​

ParameterType
valueTypeAnimationValueType
interpAnimationInterp
k0AnimationKey
k1AnimationKey
tnumber

Returns ​

AnimationValue

© 2026 PlayAdGentic