PointerState
Defined in: src/modules/input/pointer-provider.ts:46
Live, read-only view of the pointer’s continuous state. Consumers
read this every tick (or every render frame) to drive aim vectors,
cursor rendering, or hover-affected UI. Writes are owned by the
provider; the type is readonly by contract.
Properties
Section titled “Properties”clientX
Section titled “clientX”
readonlyclientX:number
Defined in: src/modules/input/pointer-provider.ts:48
Raw viewport-space X coordinate (PointerEvent.clientX).
clientY
Section titled “clientY”
readonlyclientY:number
Defined in: src/modules/input/pointer-provider.ts:50
Raw viewport-space Y coordinate (PointerEvent.clientY).
readonlyover:boolean
Defined in: src/modules/input/pointer-provider.ts:52
True iff the pointer is currently over the target.
readonlyx:number
Defined in: src/modules/input/pointer-provider.ts:54
X coordinate in target-local space (see projector doc).
readonlyy:number
Defined in: src/modules/input/pointer-provider.ts:56
Y coordinate in target-local space (see projector doc).