Use Timeline Panel
Overview
The editor includes a bottom Timeline Panel for timeline-first animation editing.
For a fully interactive docs demo, open /docs/animation/live-demo-app.html.
UI Workflow
- Open or create a timeline from the panel header.
- Use Play/Pause and timeline zoom controls (
-,+,Reset) to adjust the view. - Click a track label to focus it.
- Click a keyframe to select it,
Cmd/Ctrl+Clickto add/remove from selection. - Drag selected keyframes to move them together on the same track.
- Drag on empty track space to marquee-select keyframes in a time range.
- Use Keyframe Curve Editor to set interpolation and easing for selected keyframes.
- Toggle Record On to capture keyframes while editing canvas objects.
- Use the State Machine section to create/edit inputs, states, and transitions.
Notes
- Batch keyframe drag uses
editor.animation.moveKeyframes(...)and is recorded as a single timeline mutation. - Curve edits use
editor.animation.updateKeyframe(...)for each selected keyframe. - Record mode auto-creates missing tracks for changed animatable properties.
- State machine edits call validated APIs (
add/update/removefor input/state/transition). - State transitions support optional
priorityfor deterministic conflict handling. stepinterpolation ignores easing by design.- Playhead edits continue to use validated animation APIs and timeline duration clamping.