revert non-throwing 'id' and add 'exists' property & update doc/*/scripting/ui.md

This commit is contained in:
MihailRis
2025-11-12 18:49:04 +03:00
parent b5e69f1eae
commit ef656e9ff1
3 changed files with 8 additions and 1 deletions
+1
View File
@@ -37,6 +37,7 @@ Properties that apply to all elements:
| Name | Type | Read | Write | Description |
| ------------- | ------- | ---- | ----- | ------------------------------------------- |
| id | string | yes | *no* | element id |
| exists | bool | yes | *no* | checks if element exists |
| pos | vec2 | yes | yes | element position inside a container |
| wpos | vec2 | yes | yes | element position inside the window |
| size | vec2 | yes | yes | element size |