Gonna need some help for my issue here. I made a Togglescreen imagebutton and when clicking on it, the UI features and dialogue box don't hide. I want the player to be able to always open up and close the screen in the game as well. Here is my code so far
Code:
screen phone():
zorder 100
imagebutton xalign 0.01 yalign 0.15:
focus_mask True
idle "...png"
hover "...png"
action ToggleScreen("multipleButtons")
screen multipleButtons:
zorder 99
add "....png"
imagebutton:
focus_mask True
idle "...png"
hover "...png"
action Hide()