Designer: Lua script records
Earlier edition reference / Current 0.86.4.0 property paths > p. 350
Lua 5.4 source records.
Native record route: LuaScripts.Get("math_lua").
Append .Get("property.path", fallback) for a read or .Set("property.path", value) for a write. Replace the example record ID with one from your own project.
| Stored path | Type / access | Purpose and limits |
|---|---|---|
| id | text R / Definition | Stable Lua Script ID. |
| name | text W / Definition | Lua Script display/editor name. |
| description | text W / Definition | Lua Script description. |
| folder | text W / Definition | Editor organization folder. |
| languageVersion | text R / Definition | Lua language version. |
| source | text W / Definition | Lua 5.4 source text. Edit source in the Lua Designer; changes invalidate the Lua runtime cache. |
| global | boolean W / Definition | Whether one persistent instance listens globally. |
| events | array W / Definition | Declared Lua-script event bindings. |
| enabled | boolean W / Definition | Whether this Lua Script is enabled. |
| custom | dictionary W / Definition / Container | Project-defined script properties. |
