In this tutorial, you will learn how to make a function so if you press a key (e.g Z) a function occurs.
Now lets say we want the code to make it so when you press the Q key, a message pops up saying, "Hello!" To make that work, insert the following code:
Now what does all of that do! Well, basically, the debounce makes sure you cannot spam it. the player defines the player and the mouse gets the player's mouse. If you press the Q key, the message should pop up.