How to access orbitcontrols trough my div with flexbox?

Hi,

This example below works and in can acess to orbitcontrols, nothing to do :

But with this example below combined with an “ui” div to show some special informations (level and distance). I can acess to my orbitcontrols. It is as if the “ui” div prevented access to the input events. How to fix that ?

try adding to your css

#ui {
  pointer-events: none;
}
1 Like

Thanks seanwasere, i post the solution for the others :wink: