SelectionAPI.keyframes

Currently selected keyframes.

SelectionAPI.keyframes property

Currently selected keyframes.

Signature:

keyframes: ReadonlyArray<Keyframe<unknown>>;

Remarks

Assigning to this property replaces the current keyframe selection. Pass an empty array to clear it.

Example

// Read the current keyframe selection
const selectedKeyframes = creator.selection.keyframes;

// Set the keyframe selection
creator.selection.keyframes = [keyframeA, keyframeB];

// Clear the keyframe selection
creator.selection.keyframes = [];
Last updated: October 8, 2026 at 10:45 AMEdit this page