Lua Console/Log
The Lua Console can be used to run Lua commands interactively and also displays
log messages.
Lua commands are run as coroutines, long running commands that yield properly
will not cause the UI to freeze.
Settings
The following settings for the Lua Console are stored in settings/console.lua.json
.
-
window.x
- Type:
- integer
- Default:
- 50
The window X position.
Version History
-
window.y
- Type:
- integer
- Default:
- 50
The window Y position.
Version History
-
window.width
- Type:
- integer
- Default:
- 400
The window width.
Version History
-
window.height
- Type:
- integer
- Default:
- 200
The window height.
Version History
-
window.visible
- Type:
- boolean
- Default:
- false
If the window is displayed.
Version History
-
colors.ERROR
- Type:
- integer
- Default:
- 0x911717FF
The color used to display ERROR messages.
Version History
-
colors.WARNING
- Type:
- integer
- Default:
- 0xb8326FF
The color used to display WARNING messages.
Version History
-
colors.DEBUG
- Type:
- integer
- Default:
- 0x676F80FF
The color used to display DEBUG messages.
Version History
-
colors.INFO
- Type:
- integer
- Default:
- 0xFFFFFFFF
The color used to display INFO messages.
Version History