Skip to content
Josh Goebel edited this page Jan 25, 2021 · 21 revisions

exit

exit

Description:

Interrupts program execution and returns to the console when the TIC function ends.

Example:

Example

-- title:  exit API Command Demo (Lua)
-- author: StinkerB06

function TIC()
	cls(0)
	print("Press Z to exit to console.",1,1)
	if btn(4) then exit() end
end
Clone this wiki locally