I want to check if mouse is over any gui node to prevent some actions in my game. How can I do this?
How to check if mouse if over any gui node
The easiest way would be to just connect your control nodes to mouse_entered and mouse_exited signals. Depending of your container structure you have to set as well the correct mouse_filter property. If that filter is set to "Ignore" the signals will not fire up.
4 years later
Megalomaniak added the Godot Help tag .