why theese buttons don´t react on clicks?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Drachenbauer

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?

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

Ertain | 2022-04-10 23:38

:bust_in_silhouette: Reply From: SnapCracklins

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.

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

Drachenbauer | 2022-04-11 14:45