Skip to content

API Interface WorldChange

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

Interface: WorldChange

Defined in: src/engine/core/worldLifecycle.ts:22

One change of a World's state or loading flags (WorldHandle.onChange).

Properties

holdPending

readonly holdPending: boolean;

Defined in: src/engine/core/worldLifecycle.ts:28


loading

readonly loading: boolean;

Defined in: src/engine/core/worldLifecycle.ts:26


previous

readonly previous: "playing" | "held" | "activating" | "paused" | "unloading" | "destroyed";

Defined in: src/engine/core/worldLifecycle.ts:25

The state before; the same as state when only a flag changed.


ready

readonly ready: boolean;

Defined in: src/engine/core/worldLifecycle.ts:27


state

readonly state: "playing" | "held" | "activating" | "paused" | "unloading" | "destroyed";

Defined in: src/engine/core/worldLifecycle.ts:23

Clone this wiki locally