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
| Property | Type | Description | Defined in |
|---|---|---|---|
id | string | Virtual channel name; also the button's accessible label. | engine/src/input/touch.ts:32 |
label | string | Short text or a symbol. | engine/src/input/touch.ts:34 |
side? | "left" | "right" | Default "right". | engine/src/input/touch.ts:36 |
size? | number | Diameter in CSS pixels. Default 64. | engine/src/input/touch.ts:38 |