Skip to main content
Represents a pointer interaction event containing position and pointer id.

Fields

position

Represents a pointer interaction event containing position and pointer id. The position of the pointer in local coordinates.

id

The unique identifier for the pointer.

Constructors

new

new
Creates a new PointerEvent with the given id and position.

Methods

hit

hit(self: PointerEvent, isTranslucent:boolean?) -> ()
Marks the event as handled. If isTranslucent is true, the event may continue to propagate through translucent hit targets.