Back button for popup "Options" menu not working

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

So I programmed in a menu that would pop up when you click on the “Options” button, and close when you press “Back.” However, the back button isn’t working. Any tips?

func _on_OptionsButton_pressed():
$Options.visible = true
func _on_BackButton_pressed():
$Options.visible = false
func _on_BackButton_pressed():
    $Options.visible = false

I assume the signal is mapped correctly, hooked up to the pop-up’s back button? Care to share the scene this occurs in (something reproducible)?

spaceyjase | 2023-03-20 12:52