Hello, I've been searching the internet for a solution to my game. My idea was to pause/resume my game with the 'p' button on my keyboard, which has keycode 80. However, everytime I try to apply a found solution from the internet to my game, it doesn't work or my game doesn't even start. I tried the debugger, I tried using other ways. Is there anyone that can guide me through this or atleast tell me how to do it properly? I've been searching for hours now, and this is an assignment for school. Thanks in advance, Assad