Two control nodes interfering with each other

Godot Version

4.2.2

Question

I’m making a point and click adventure, and this is the way I have it set up:

  • Inventory node is a prefab for all room scenes, it’s a Canvas Layer with a Control node as a child, and all of the UI elements as a children of the Control Node;
  • Rooms are basic Nodes with the Inventory prefab as a child.

I added another Control node as a child of Inventory, and all of the interactable areas are buttons as children of the second Control node. However, I found that this way the inventory UI becomes uninteractable because I assume the second Control node is interfering with it.

Is there a way to fix this? If not, what is a better way to set this up?

Would be grateful for any help!

When running the game, open the Debug tab to see the focused control to check which one has priority.

Yeah, thanks for the tip, the second Control node was messing with me. Apparently I just had to put the mouse filter on Ignore in it, and now everything’s working properly.