Exit statement

Game Maker 8

Exit statement

The exit statement has the form

exit

It simply ends the execution of this script or piece of code. (It does not end the execution of the game! For this you need the function game_end(); see below.)