Stop mouse event propagation within a BABYLON.GUI element

It sounds easy but I’m not sure why after the first time working it stops working until I move my mouse outside of the canvas and move into the canvas again.

Also probably my sample is over complicated and I’m almost sure that there should be another easier way:

Obviously, my intention is that you cannot move the viewport if your mouse is over the UI elements.

Thank you in advance for any tip!

cc @PolygonalSun and @carolhmj

Hey, I’m not able to open that PG. Are you able to @carolhmj?

My bad can you try this one?

For future readers:

mmCircle.isPointerBlocker = true;

was the droid I was looking for.

3 Likes