Executes when a touch is detected.
on touch(out float screenX, out float screenY, const float TOUCH_STATE, const float TOUCH_FINGER) { }
Modifiers: out
Type: float
The x coordinate of the touch (in pixels).
Modifiers: out
Type: float
The y coordinate of the touch (in pixels).
Modifiers: const
Type: float
One of TOUCH_STATE.
Modifiers: const
Type: float
One of TOUCH_FINGER.