is it possible to catch an event only by the GUI and not also by background meshes?
The goal is to have a gui on the foreground and then, for example, when i click on a button i don’t want that the event is triggered also by the mesh behind that button.
Would be cool to have a repro in the playground ???
Cause it should be ok like this.
I’ve to correct myself, it happens not with buttons but with text block.
This is a simple test PG: https://playground.babylonjs.com/#UWS0TS#137
It is normal cause text unlike buttons do not block pointer events, you can change the behavior like this:
Thanks, exactly what I need