I made a game with a 'Hide' button. This hides the game. I'd like the user to be able to press a certain key to either exit or make the game visible again.

Any ideas on how to do this?

Thanks