How to prevent scene pick on AxisDragGizmo drag start

I wrote an onpointer down event on my own for switch attached mesh of the AxisDragGizmo, but I don’t want the select behaviour happen on drag start.

What should I do?

Let’s see if @Cedric can help you.

There is no easy way to know if the mouse pointer is hovering the gizmo atm.
Let me see if I can fix that :slight_smile:

PR is live : ishovered check for gizmos by CedricGuillemet · Pull Request #8965 · BabylonJS/Babylon.js · GitHub


Thank for your work! As a developer who has not read the source code in detail, am I eligible to review the code?

of course!

1 Like