How can i hide a user interface on game start

Im a newbie and trying to make a pause menu but i can’t hide it when the game starts. How can i hide it when the game starts? Please help me. Plss

You can show / hide widgets with the Set Visibility node. It can be used inside the menu if the UI is what starts the game, so the widget can hide itself after pressing a button:

Other than that, you’d need to provide more details.

1 Like

Thank you very much that worked pretty well :slight_smile:

But now im having another problem: I have 2 user interfaces and when i press “X” the other user intreface shows up and when i press “Esc” unfortunately the Pause interface shows up and they mix up. How can i hide the other user interface when i open another user interface so they aren’t opened at the same time? If you can help me i would really appreciate that. I don’t now so much code because im a newbie so i need help.

It’s probably a combination of showing / hiding stuff. Not sure if I understood you right, though. Experiment with those nodes:

  • both widgets start hidden
  • pressing #1 toggles visibility of the 1st one
  • pressing #2 hides 1st, but shows the 2nd

Thank you very much that worked like a charm :slight_smile: thx