The move events an interactive Container3D hears wherever the pointer is
Every interactive node in the View hears them on every pointer move on the page, as in
pixi.js's GlobalFederatedEventMap, and there is no capture variant. The 3D fields carry the
View's pick for that move, not the node being told, and read null when the ray hit nothing.
Example
// Drag a mesh along the ground plane, even once the pointer leaves it mesh.eventMode ='static'; mesh.on('globalpointermove', (e) => { consthit= dragging && view3d.screenToWorld(e.global, ground); if (hit) mesh.position.copyFrom(hit); });
The move events an interactive Container3D hears wherever the pointer is
Every interactive node in the View hears them on every pointer move on the page, as in pixi.js's
GlobalFederatedEventMap, and there is no capture variant. The 3D fields carry the View's pick for that move, not the node being told, and readnullwhen the ray hit nothing.Example
See
EventBoundary3D#enableGlobalMoveEvents To turn them off for a View.