Animatable.getValueAt

Gets the interpolated value of this property at a specific frame.

Animatable.getValueAt() method

Gets the interpolated value of this property at a specific frame. If frame is omitted, the value at the current timeline playhead is returned.

Signature:

getValueAt(frame?: number): T;

Parameters

Parameter

Type

Description

frame

number

(Optional) The frame number to query. Defaults to the current timeline frame.

Returns:

T

The interpolated value at the given frame.

Remarks

For properties that aren't animated (no keyframes), the static value is returned regardless of frame. When the property is animated, the returned value is interpolated between keyframes using each keyframe's easing. Frames outside the keyframed range are clamped to the first or last keyframe's value.

Example

// Get the value at a specific frame
const positionAtFrame30 = layer.position.getValueAt(30);

// Get the value at the current playhead
const currentPosition = layer.position.getValueAt();
Last updated: August 5, 2026 at 11:47 AMEdit this page