Actors
The two base classes, the built-in primitive actors, and the decorator that makes a command editor-facing.
An actor owns state and the commands that move it. Everything else — rendering, layout resolution, timing — is the runtime's job.
Base classes
Actor
The root unit: state, commands, events, lifecycle, and the runtime helpers.
LayoutActor
Actor plus the canonical layout, transform, appearance and item groups. The default for anything visible.
Almost every actor extends LayoutActor. Extend Actor directly only when the thing
genuinely has no box — a clock, a controller, a coordinator.
Built-in actors
From @motionactor/primitives and @motionactor/media.
ClockActor
Elapsed time, stopwatch and timer behaviour inside an actor tree.
Camera2D
Scene pan, zoom, rotation, focus and follow.
ComponentActor
Render-callback bridge for custom drawing.
Audio and sound effects
Audio, AudioTrack and AudioManager — packs, cues and event-bound sound.