Window.onPointerDown

Function/Meaning

Pressed by some pointing device

Type
WindowclassEvent
Syntax
onPointerDown(type, x, y, cx, cy, shift, id)
Arguments
type

Touch or mouse button type

x

X position

y

Y position

cx

Contact width (number of pixels), 1 for mouse

cy

Contact height (number of pixels), 1 for mouse

shift

Modifier key state, 0 when touched

id

Touch ID, always 0 when using mouse

Return value
None (void)
Explanation