How do I make the pausemenu close when pressing the resumebutton?

This is the 2D forum, not the UI forum. Please use the UI forums for UI questions.

In this instance, I’ll move your post for you.

btw, here’s how to post code on the forums: Using code tags properly

Thanks.