I have an Area2D that detects whether or not the mouse is touching it. It works except when the mouse is also touching either a Button or LineEdit. Now, if I set the mouse filters on the button and LineEdit to ‘Ignore,’ then the area detects the mouse, but obviously the button and LineEdit stop detecting the mouse.
I’ve tried both putting the Area above and below the button in the scene tree, but I’m not sure what to do. Thanks for the help!
Physics picking input events are sent after gui input events so the controls will always capture them first independently of the order of the nodes in the scene tree. Here’s how it works: