< Game Maker Programming

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".

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.