tap

open fun tap(screenX: Float, screenY: Float, count: Int, pointer: Pointer): Boolean

Triggered whe na tap occurred. A tap occurs when a pointer touches and lets go of the same area of the screen without moving outside the tap zone. The tap zone is a rectangular area around the initial tap position.

Return

true if event is handled; false otherwise

See also

Parameters

screenX

the x-coord of the tap

screenY

the y-coord of the tap

count

total number of taps

pointer

the pointer that tapped