0 votes

https://github.com/Drachenbauer/3D-Sokoban
start game and press "o" to open option panel.
the buttons there display, that the mouse is in their area and change their focus on clicking, but don´t appear pressed.
And they don´t run the functions, wich are connected to them.

What ´s wrong with them?

Godot version v3.4.3
in Engine by (75 points)
edited by

Are you using Control nodes? Have you checked the mouse filter behavior of the nodes?

1 Answer

0 votes

By chance are you using any UI elements like a ColorRect for blackout? Maybe check them to see if Mouse Filter is on stop or pass or ignore.

by (548 points)

is on ignore, otherwhise fokus and mouse-over also not work
Edit:
i had to set the pause-mode to process, because i pause the game while the option-panel is active.

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.