Is the primary pointer double clicked (usually the left button). This is equivalent to input.mouseDoubleClick
Was a double click detected for the primary pointer?
Is the primary pointer clicked (usually the left button). This is equivalent to input.click
Was a double click detected for the primary pointer? This is equivalent to input.doubleClick
Adds an event listener for the specified event type. The callback will be called when the event is triggered.
The event type to listen for
The callback to call when the event is triggered
Optional
options: EventListenerOptionsThe options for adding the event listener
Removes the event listener from the specified event type. If no queue is specified the listener will be removed from all queues.
The event type to remove the listener from
The callback to remove
Optional
options: EventListenerOptionsThe options for removing the event listener
The input system is responsible for handling all input events like pointer events (mouse, touch, xr controllers) and keyboard events.