touchDown

open fun touchDown(screenX: Float, screenY: Float, pointer: Pointer): Boolean

Invoked when a Pointer is initially touched or clicked. This includes mouse and touch.

Return

true if event is handled; false otherwise

Parameters

screenX

the x-coordinate of the event based on screen

screenY

the y-coordinate of the event based on screen

pointer

the pointer that was pressed/clicked