Topic was automatically imported from the old Question2Answer platform.
Asked By
Amateur.game.dev.
I think the title is pretty self explanatory, but anyway, i am trying to script a button node called “Quit” which opens a popup that is like a double-check options but I do not know how I would script the button to do this.
That’s basically it. When the button is pressed, it’s pressed() fires, which calls the _on_Button_pressed() function in the script. That function simply sets the visibility of the dialog to true, which causes it to become visible.
Hello. Now can you tell me If I have multiple buttons each including unique popup. How to make other popups hidden when pressing the other button? Basicly my project have Popups but when I click on another , both of them are on the screen which is I dont want