Do you ask how to know if the pointer/mouse is over an 3D area (mesh)? If so, then
I think this would work i.e. by pointer
listeners/observables and scene.meshUnderPointer/pickResult.pickedMesh
or by Actions
:
Furthermore, it is even possible to combine it with 2D or 3D GUI: