Skip to content

API Interface RebindResult

github-actions[bot] edited this page Nov 24, 2026 · 4 revisions

Interface: RebindResult

Defined in: src/engine/input/rebind.ts:42

Properties

action

readonly action: string;

Defined in: src/engine/input/rebind.ts:44


canceled

readonly canceled: boolean;

Defined in: src/engine/input/rebind.ts:47


chord

readonly chord: readonly string[];

Defined in: src/engine/input/rebind.ts:51

A chord rebind's controls, modifiers first (modifier0…) then the main control, as bound. Empty for other rebinds.


conflicts

readonly conflicts: readonly string[];

Defined in: src/engine/input/rebind.ts:53

Other mappings now using the control, in any context the player could have active, as "<context>: <action>".


control

readonly control: string | null;

Defined in: src/engine/input/rebind.ts:46

The new control path (a chord's main control); null when canceled.


player

readonly player: GameObject;

Defined in: src/engine/input/rebind.ts:43


reason

readonly reason: RebindCancelReason | null;

Defined in: src/engine/input/rebind.ts:49

Why it was canceled; null when it bound.

Clone this wiki locally