Skip to content

API Interface RebindResult

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

Interface: RebindResult

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

Properties

action

readonly action: string;

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


canceled

readonly canceled: boolean;

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


chord

readonly chord: readonly string[];

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

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

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

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


player

readonly player: GameObject;

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


reason

readonly reason: RebindCancelReason | null;

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

Why it was canceled; null when it bound.

Clone this wiki locally