See the Python reference of this logic brick in
The Game Actuator handles the entire game and this way allows the user to perform game-specific functions, such as restart, quit, and load.
- Quit Game
Once the actuator is activated, the blenderplayer exits the runtime.
- Restart Game
Once the actuator is activated, the blenderplayer restarts the game (reloads from file).
Save a screenshot to the specified file.
Path to the screenshot to save (
.pngis appended to the filename).
- Start Game From File
Once the actuator is activated, the blenderplayer starts the blend-file from the path specified.
Path to the blend-file to load.
If you use the keyboard sensor as a hook for Esc,
in the event that the quit game actuator fails, such as an error in a Python file,
the game will be unable to close. Data may be recovered from