Skip to reading
The GUI Designer

Use advanced record tools deliberately

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
On this page

Custom properties belong to one record#

Clear the element selection and open the whole GUI's Custom Properties tab. Add Custom Property creates a row with an ID, display name, type and value. Types include String, Boolean, Number and Array, with a separate blank/null choice.

For example, a String property called page_kind can hold notebook. Apply the GUI record form and save. A Change GUI Property action can then use page_kind as its Property. This is record-specific data, rather than a new global variable in Variable Designer.

Check which Raw JSON you opened#

Source table from Use advanced record tools deliberately, page 34
Selected itemRaw JSON represents
A GUI record / GUI WindowThe complete GUI, including windowFrame and elements.
A child elementOnly that element. Its button is Validate and Apply Element JSON (Advanced).

Change a small, known property and use the matching Validate and Apply button. Keep the surrounding JSON valid. Do not paste a single element over a whole GUI record, or remove its elements array while changing a window setting.

Optional modal input behavior#

An authored GUI can have the record property modal set to true. This makes it block gameplay interaction while visible, including its closing effect. It does not mean every world animation and timer is paused.

Code example
"modal": true

If modal already appears in the GUI General form, edit it there. A new record may not expose that field yet; advanced users can add the property to the whole GUI's JSON, alongside its id and name, then validate and apply it. Include commas as required by the surrounding JSON.

For unusual main-window corners or a backdrop not exposed in the ordinary window form, the windowFrame record supports the appearance keys used by property actions. The next chapter shows the action approach, which is easier to test without editing a large JSON record.

Page 34 of 57Permalink
Go to page