| title | PointerEvent |
|---|
Represents a pointer interaction event containing position and pointer id.
The position of the pointer in local coordinates.
The unique identifier for the pointer.
The type of event (pointerDown, pointerUp, click, pointerEnter, pointerMove, etc).
{/* new: (id: number, position: Vector) -> PointerEvent */}
```lua
new(id: number, position: Vector) -> PointerEvent
```
{/* hit: (self: PointerEvent, isTranslucent:boolean?) -> () */}
```lua
hit(isTranslucent: boolean?) -> ()
```
Marks the event as handled. If isTranslucent is true, the event may continue to propagate through translucent hit targets.