Skip to content

API Interface RebindResult

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

Interface: RebindResult

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

Properties

action

readonly action: string;

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


canceled

readonly canceled: boolean;

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


chord

readonly chord: readonly string[];

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

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:54

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:47

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


player

readonly player: GameObject;

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


reason

readonly reason: RebindCancelReason | null;

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

Why it was canceled; null when it bound.

Clone this wiki locally