Window.onTouchDown

Function/Meaning

The screen was touched

Type
WindowclassEvent
Syntax
onTouchDown(x, y, cx, cy, id)
Arguments
x

The x-coordinate (in client coordinates) value of the touched position.

y

The y-coordinate (in client coordinates) value of the touched position.

cx

The number of horizontal pixels that the finger is in contact with.
Always 1 if the device does not support it.

cy

The number of vertical pixels that the finger is in contact with.
Always 1 if the device does not support it.

id

Touch ID.
At the time of multi-touch, a unique value is set for each position, and the position can be identified by this ID.

Return value
None (void)
Explanation

Occurs when the touch panel is touched.