EnableGUIElement()
Enable Gui Element
Enable one element for interaction.
| Option key / field | Meaning and input | Default |
|---|---|---|
| GUI guiId | Choose an authored GUI ID. | Blank |
| Element / Group elementId | Choose an element inside the selected GUI. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await EnableGUIElement({"guiId": "hud", "elementId": "topline"})In use. Enable the Continue button once the necessary option has been selected. A parent interface or modal input lock can still prevent access even when this child's enabled flag is on.
DisableGUIElement()#
Disable Gui Element
Disable one element for interaction.
| Option key / field | Meaning and input | Default |
|---|---|---|
| GUI guiId | Choose an authored GUI ID. | Blank |
| Element / Group elementId | Choose an element inside the selected GUI. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await DisableGUIElement({"guiId": "hud", "elementId": "topline"})In use. Disable Save until a save slot has been selected. Decide what visual disabled treatment the element should use so the player understands why it cannot be used.
