I looked around the discussions, and I couldn't really find anything helpful for this topic. I want to make my game able to be paused by pressing a key, like "p". However, I don't know the code to do something like this. Can anyone help with this problem? Thanks so much!

