Engine

core.engine.quit

Client

Shuts down the application

Syntax

local status = core.engine.quit()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Quit the game from a key bind
util.input.bind(util.input.key.ESCAPE, "down", function(key, direction)
    core.engine.quit()
end)

On this page