Other Similiarites to GameMaker
this won't make much sense now, but if you are familiar with common GameMaker events you will probably know of these:
- keypress: triggers once and only once on press, have to release key and press to trigger again
- keydown: while the key is held down
Here they are in pygame and works same for mouse input too: