How to make a Pause Button

I’m trying to make a function where pressing P would pause the game, and then you’d be able to resume when you want by pressing P again or another button. But once the game is paused, I can’t press ‘enter’, for example, to resume since the game is paused, because it doesn’t take any key inputs. Any thoughts on how to do this outside of a timer?

simple
keyboard — pause (pause) ---- alert (show) ----- pause (play)
for the alert just put something like paused

I don’t know why I didn’t think of that. thanks

Hi,
How to do this. Do we need to create a sprite in user interface? Please let me know.

Thank you.

This topic is 5 years old. I don’t think the original poster will respond. Please create your own topic if you need any help.

Yeah, the pause behavior works very differently than it did 5 years ago. Like now you need to select “don’t pause this object” in the pause behavior if you still want the object to work. We can help out a lot more if you make a new topic about it.

1 Like

Sure.Thank you,BradenS

1 Like