Game Maker Programming/Statements

From Wikibooks, open books for an open world
< Game Maker Programming
Jump to: navigation, search

A statement is an instruction within the Game Maker Language. They are most commonly used when a variable is set. For example:

speed = 5; //Set the speed of the current object to 5

In Game Maker a statement can simply be written as above in a code object, or in the D&D event "Set the value of a variable" under "control".