Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Lua Scripting

Lua is a lightweight, high-level, multi-paradigm programming language designed mainly for embedded use in applications.

You can add Lua scripts to objects by attaching a Lua Script Component

TheEngine’s Lua API can be found here

Attaching Lua Scripts

Reloading Lua Scripts

Note

Due to limitations, objects that share a script will have to have their scripts manually refreshed individually.

You can reload a Lua Script by hitting the Refresh Script button.