# Getting Started

# Where do I put my scripts?

"%appdata%/jupiter/scripts/**.lua"

Example LUAs
jupiter-lua-examples.zip 2.2KB

# Creating an execution context is done through registering callbacks:

function on_script()
    -- executes every script tick
end

function on_render()
    -- executes every frame
end

jupiter.register_callback("script", on_script)
jupiter.register_callback("render", on_render)

# Common Methods

jupiter.execute(" -- some lua ")
jupiter.abort() -- terminate process
jupiter.directory() -- root of jupiter app data