GM: exit

From GMpedia.org Wiki

Jump to: navigation, search

exit
 

Type: statement
Limitations: none
The correct title of this article is exit. It appears incorrectly here because of technical restrictions.



The exit statement does the same thing no matter where it is used, it simply ends the execution of code in the current event. Meaning all the rest of the code in the same event will be skipped over.

[edit] Example

exit;

[edit] See Also

This article was originally found at the Game Maker Knowledge Base, contributed by Abyssal_Nuclei.
See the talk page for details
Personal tools