Skip to content

API Variable button

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

Variable: button

const button: ActionFactory<"button">;

Defined in: src/engine/input/actions.ts:89

A button action: value 0..1, actuated past the press point (0.5). button("<Keyboard>/space", "<Gamepad>/buttonSouth").

Clone this wiki locally