Returns true if there is currently no active pointer and the event belongs to a mouse device.
Parameters
pEvent: PointerEvent
Returns boolean
isPrimaryPointer
isPrimaryPointer(pEvent: PointerEvent): boolean
Returns true if the pointerId of the given event belongs to the currently only
active pointer and in case of a mouse device it has to be the left mouse button.
The last known position of the pointer. Will be updated with every incoming pointer event.