BaseLayerMixin.shiftTo

Shifts this layer to a specific frame in the timeline.

BaseLayerMixin.shiftTo() method

Shifts this layer to a specific frame in the timeline.

Signature:

shiftTo(frame: number): void;

Parameters

Parameter

Type

Description

frame

number

The target frame number

Returns:

void

Remarks

Shifts the layer's timeline window: updates startFrame, endFrame, timelineOffset, and all keyframes together. The layer's render order, transform parent, and canvas position are unaffected.

Last updated: October 8, 2026 at 10:45 AMEdit this page