Skip to content

controlbinding: members

4 implemented, 0 reserved. Entries are sorted by name.

controlbinding.action: number

Runs on: client only. Origin: compatibility. Since: M5. Playground: no. read-only.

The game action the binding belongs to.

echo(adventure_getControlBinding(0, 0).action);

Specification: client-rendering.md§4.12.

controlbinding.keycode: number

Runs on: client only. Origin: compatibility. Since: M5. Playground: no. read-only.

The key code bound to the slot.

echo(adventure_getControlBinding(0, 0).keycode);

Specification: client-rendering.md§4.12.

controlbinding.keytext: string

Runs on: client only. Origin: compatibility. Since: M5. Playground: no. read-only.

The name of the bound key.

echo(adventure_getControlBinding(0, 0).keytext);

Specification: client-rendering.md§4.12.

controlbinding.slot: number

Runs on: client only. Origin: compatibility. Since: M5. Playground: no. read-only.

The position of the binding among the keys of its action, 0 to 2.

echo(adventure_getControlBinding(0, 0).slot);

Specification: client-rendering.md§4.12.

Engine version 0.1.0. Built 2026-11-18.