Babylon GUI isPointerBlocker combined with Scene.pick?


It seems that when I set isPointerBlocker to true, I can no longer click through my UI (as intended), but calls to scene.pick still return the mesh that is behind the UI. Is there a way I can get scene.pick to ignore meshes that are behind UI components without manually setting flags in enter/exit observables?

Best Regards,
Blake Beaupain

Hi, you can use


to check if the current pointer position can be used for picking

1 Like