Skip to content

API Interface AnimatorTravelResult

github-actions[bot] edited this page Nov 28, 2026 · 2 revisions

Interface: AnimatorTravelResult

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

What the promise of Animator.travel resolves with: it never rejects, and never hangs.

Properties

reason

readonly reason: "arrived" | "interrupted" | "unreachable";

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

arrived: the machine entered the state (at once when it was already there); unreachable: no path leads there (or the graph has no such state or layer), with a warning; interrupted: another travel or jump on the machine, or the Animator losing its instance, came first.

Clone this wiki locally