update scripting docs

This commit is contained in:
MihailRis 2026-07-22 00:33:36 +03:00
parent c3794191e2
commit da6a36a76c
4 changed files with 107 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# UI properties and methods
UI elements in scripts are accessed through a Document instance
(*document* variable) by id specified in xml.
(global *document* variable) by id specified in xml.
Example: print the pos property of an element with id: "worlds-panel" to the console:
```lua