My implementation

I implemented ToggleQuitMenu so hitting ESC second time closes it. I kept both game and widget input and put blur background on it:


2 Likes

Great implementation :clap:

1 Like

Looks great. Thanks for sharing.

1 Like

I know it’s nearly a year later, but I’ve spent the better half of two days trying to figure this one out. How did you make it toggleable? I’ve used booleans in GameInstance, I’ve tried casting in MenuWidget, and so much, if you see this by chance, what did you do?

Add a boolean to track the state of the menu, something like isMenuShowing. If false, show the menu and if true, hide it. The toggle menu call will then use this to do one or the other and also update the boolean accordingly.

Privacy & Terms