Game Maker basic commands (if statement).
- GM is event based,
- How to launch the first event,
- Associating actions to events
You can launch your scripts (select an object and the control tab to the right, scripts are in the code section under questions and others) and not end up asking yourself why there’s just a blank screen. You’re ready to try some basic coding.
The point of this tutorial is to teach you how the most basic work. Later tutorials will apply basics to concrete examples.
If :
This command’s basic articulation is as follows :
If something is true
Do this
An if command can litterally contain pages of code. Something is true can actually be a combination of many things.

