OptionalonCalled for mouse clicks and taps
Mouse position
OptionalinstanceId: numberThe index of the instance if the event occurred on an InstancedMesh.
Return true to consume the event, false to pass it on
OptionalonCalled for double clicks and double taps
Mouse position
OptionalinstanceId: numberThe index of the instance if the event occurred on an InstancedMesh.
Return true to consume the event, false to pass it on
OptionalonCalled during dragging
Mouse position
The current viewport
OptionalinstanceId: numberThe index of the instance if the event occurred on an InstancedMesh.
OptionalonCalled when the user cancels dragging by pressing the escape key
OptionalinstanceId: numberThe index of the instance if the event occurred on an InstancedMesh.
OptionalonCalled when the user releases the mouse button after dragging
OptionalinstanceId: numberThe index of the instance if the event occurred on an InstancedMesh.
OptionalonCalled when the user starts dragging the target
Mouse position
The current viewport
OptionalinstanceId: numberThe index of the instance if the event occurred on an InstancedMesh.
OptionalonCalled for click-and-hold and touch-and-hold
Mouse position
OptionalinstanceId: numberThe index of the instance if the event occurred on an InstancedMesh.d
Return true to consume the event, false to pass it on
OptionalonCalled when the mouse is moved
Mouse position
The current viewport
OptionalinstanceId: numberThe index of the instance if the event occurred on an InstancedMesh.
OptionalonCalled when the mouse pointer leaves the target
Mouse position
The current viewport
OptionalinstanceId: numberThe index of the instance if the event occurred on an InstancedMesh.
OptionalonCalled when the mouse is hovered on the target
Mouse position
The current viewport
OptionalinstanceId: numberThe index of the instance if the event occurred on an InstancedMesh.
OptionalonCalled when the mouse wheel is turned
Mouse position
Mouse wheel delta
OptionalinstanceId: numberThe index of the instance if the event occurred on an InstancedMesh.
Mouse and touch events