Skip to content

API Variable PEN_BUTTONS

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

Variable: PEN_BUTTONS

const PEN_BUTTONS: readonly ["tip", "barrel", "eraser"];

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

Pen buttons by bit (PenState.held…): the tip touching, the barrel button, the eraser touching.

Clone this wiki locally