This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

I have a 2D scene with any button under it and it will not respond to my mouse at all. I've tried all the buttons under button and and also tried a bitmap on the texture button.
enter image description here

in Engine by (12 points)
edited by

1 Answer

0 votes

There may be another control node overlapping those buttons. Even if the node itself doesn't cover the buttons, if the rect covers them they might not pick up the mouse.

by (276 points)

can set the Mouse Filter property of the blocking Control to pass or ignore instead of block (default) to let it though

It's not working

Does having it as not the main scene effect it at all? I created a new scene and and trying to instance it into the game. I only have the control node and the button. Still nothing.

img link: https://imgur.com/a/2tkWcyj

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.