TapEvent

data class TapEvent(val x: Double, val y: Double, val node: IsometricNode? = null)

Describes a tap interaction within an isometric scene.

Parameters

x

Horizontal screen coordinate of the tap, in pixels.

y

Vertical screen coordinate of the tap, in pixels.

node

The IsometricNode located at the tap position, or null if the tap did not hit any node (e.g. hit testing is disabled or the tap landed on empty space).

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, node: IsometricNode? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val x: Double
Link copied to clipboard
val y: Double