Skip to content

API Interface AnimatorMusicTiming

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Interface: AnimatorMusicTiming

Defined in: src/plugins/animation/runtime/types.ts:69

Musical timing for plays, crossfades, travels and requests (ADR 0372), when the audio plugin is enabled: wait for the next beat, bar or exit marker of music, and land the start or the clip's hit marker on it. A play released a little after its boundary (frames are coarser than beats) starts that far into its clip. Without the audio plugin, without music, or when the music stops first, at is refused with one warning and the action happens at once.

Extended by

Properties

align?

readonly align?: "start" | "hit";

Defined in: src/plugins/animation/runtime/types.ts:75

What lands on the boundary: the clip's start (default) or its hit marker, as audio stingers do.


at?

readonly at?: "exit" | "beat" | "bar";

Defined in: src/plugins/animation/runtime/types.ts:71

The music boundary to wait for.


music?

readonly music?: AudioPlaylistHandle;

Defined in: src/plugins/animation/runtime/types.ts:73

The music the boundary belongs to (required with at).

Clone this wiki locally