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.

Signature:

getValueAt(frame?: number): T;

Parameters

Parameter

Type

Description

frame

number

(Optional) Optional frame number to evaluate at. Defaults to the current timeline frame.

Returns:

T

The value at that frame.

Remarks

If the property is not animated, returns the static value.

Example

// Get position at frame 30
const posAt30 = layer.position.getValueAt(30);

// Get position at the current playhead
const posNow = layer.position.getValueAt();
Last updated: October 8, 2026 at 10:45 AMEdit this page