voxolith

ButtonSpec

A round button. It sets virtual value <id> to 1 while any finger is on it (touch:<id>).

Defined in: engine/src/input/touch.ts:30

Properties

PropertyTypeDescriptionDefined in
idstringVirtual channel name; also the button's accessible label.engine/src/input/touch.ts:32
labelstringShort text or a symbol.engine/src/input/touch.ts:34
side?"left" | "right"Default "right".engine/src/input/touch.ts:36
size?numberDiameter in CSS pixels. Default 64.engine/src/input/touch.ts:38

On this page