GML or Game Maker Language is the programming language that you use when setting up scripts and pieces of code in Game Maker. It is very much like programming languages such as C++ and Pascal, and is very easy to learn. It can be used instead of the drag-and-drop interface of Game Maker and provides many functions that are impossible or very difficult to program using the drag-and-drop interface
No variable types Edit
When applying values to variables in GML, you do not need to first create the variable or specify its type (such as boolean, integer or string types). Instead, GML automatically recognizes the type of variable you're trying to create. Variables even change to other types if needed.
For example, the following code makes perfect sense in GML: