#Buttons are considered Pressed even when not pressed?

17 messages · Page 1 of 1 (latest)

high thicket
#

Making an overlay app with a separate window for changing options (primarily for API stuff, but I'm not there yet.)
I'm trying to add 2 buttons to the panel. One to close the program and another to hide the option window.

I already know the code to hide and kill processes, but the issue is that for whatever reason the buttons are considered pressed at all times despite not being pressed. The print functions were there to debug but they didn't do much to help.

The code and nodetree is in the image.

If anyone knows what is causing this then I'd really appreciate your help.

oak linden
#

I doubt it's the issue, but double check it isn't a toggle button set to pressed by default

high thicket
#

Godot 4.1.2 btw

oak linden
#

Yeah then I don't know sorry

high thicket
#

The options are in a different window from the main one btw

high thicket
desert hare
#

do you know what signals are?

high thicket
#

Nope. Not really.

desert hare
#

they're definitely what you should be using in this situation

high thicket
#

I know the concept from Unreal's equivalent, but I'm not that good at those.

desert hare
#

not sure how you can be not good at signals

high thicket
#

I overthink a lot and I'm not the best at naming functions, variables, etc.

#

So simple things become more complex than they need to be

desert hare
desert hare