Exit Game Icon Exit Game

With this action you can end the game, triggering the Other - Game End Event. Note that this does not happen the moment the action is called, but rather at the end of the current event or script, so any actions that you have after this action has been called will still run until the end of the event/script is reached.

Please note that this action has the following restrictions:

 

Action Syntax:

Exit Game Example

Example:

Exit Game ExampleThe above action block code will check a global variable and if it returns true the game will be exited.