0 votes

I am building a game that has a tab-based interface. So, essentially the whole game will be in a TabContainer.

The first interactive scene I have built is called MapView, and it utilizes mouse input, especially mouse_entered() and mouse_exited() for several things. This will be nested under one of the tabs.

The issue I am running into is that the TabContainer eats the mouse input. I have Mouse > Filter set to "Ignore" for the tab itself, but I have it set to "Pass" for the TabContainer. While I can change tabs with my mouse, I no longer have any mouse input for my MapView scene.

If I change Mouse > Filter to "Ignore" on the TabContainer, I can now interact with my MapView scene, but I can no longer change tabs... What am I missing?

  • Node2D

    • TabContainer

      • Tab

        • MapView (interactive scene)
Godot version 3.4.2
in Engine by (93 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.