Skip to content

API Interface AnimatorRequestOptions

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

Interface: AnimatorRequestOptions

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

Options of Animator.request (ADR 0372).

Extends

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.

Inherited from

AnimatorMusicTiming.align


at?

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

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

The music boundary to wait for.

Inherited from

AnimatorMusicTiming.at


music?

readonly music?: AudioPlaylistHandle;

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

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

Inherited from

AnimatorMusicTiming.music


within?

readonly within?: number;

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

Seconds the request stays open for a transition to consume it (default 0.25). Never stale: it expires.

Clone this wiki locally