touchDragged

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

Invoked when a Pointer is pressed/clicked and dragged. 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 and dragged