TouchRegion
Since 0.6
A rectangle of the screen in normalised coordinates (0..1 on each axis, origin top left), so one region fits every resolution and orientation.
Fields
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
x | number | yes | Left edge, 0..1 of the screen width. | ||
y | number | yes | Top edge, 0..1 of the screen height. | ||
w | number | yes | Width, 0..1 of the screen width, above 0. | ||
h | number | yes | Height, 0..1 of the screen height, above 0. |