onTouchEvent

abstract fun onTouchEvent(obj: ZObject, event: ZTouchEvent)(source)

Called when a touch event occurs for the associated ZObject.

Parameters

obj

The ZObject that this listener is attached to

event

The touch event containing position, movement, velocity, and acceleration data