UI Mouse Clicks

Godot Version

4.4.1

Question

`So I was making my UI splitting up the different elements and now I have hit a wall. I know what the issue is but I tried most of the stuff that I read online. The thing is the something eats my mouse signal and I cant figure out what. well it’s mostly between two nodes the HUD and the PauseMenu. If I place the HUD on the bottom I won’t be able to click on anything except it. But when its on the top it works for every node except when I press the pause button which is on the HUD. If I put the PauseMenu above the HUD I can press the PauseButton located on the HUD but not the buttons of the PauseMenu and when I turn it around I can press the PauseButton once it will open the PauseMenu and I can iteract with the buttons on the PauseMenu but not the Pause button on the HUD. I made every control node to propagate the mouse up but it doesn’t help.
Is it because those are the only Control nodes that are full rect? The other ones arent like that.

This is my current Setup.

`

Propagating up only goes up to the parent, not down or to a sibling. So if the HUD consumes an input, it wouldn’t pass it down to the PauseMenu. If you have a full rect control node that’s not set to ignore, then it will catch any inputs because it covers everything. You should set all the full rect nodes that don’t require input detection to “ignore”.

Also, you can check the last clicked control node in the Misc tab of the Debugger.

Yeah in the last clicked node it’s either the Pause Menu or the Hud when I switch their places. If I make the HUD as ignore it works though but will that cause any issues down the line?

Based on my fairly limited knowledge no but just remember if you run into a strange problem i would investigate this

What do you want to happen?

If you don’t want the HUD to process events, change mouse_filter to Ignore. (Control → Mouse → Filter)

It is unclear to me from what you are saying is happening, what you want to happen.