EnableGUI()
Enable Gui
Enable an authored interface through the runtime GUI manager.
| Option key / field | Meaning and input | Default |
|---|---|---|
| GUI guiId | Choose an authored GUI ID. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await EnableGUI({"guiId": "hud"})In use. Enable a menu after a sequence that disabled it. Whether it is currently visible is a separate state; use Show GUI as well if it needs to appear.
DisableGUI()#
Disable Gui
Disable an authored interface through the runtime GUI manager.
| Option key / field | Meaning and input | Default |
|---|---|---|
| GUI guiId | Choose an authored GUI ID. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await DisableGUI({"guiId": "hud"})In use. Prevent interaction with an interface while a transition is running. Use Hide GUI if the intention is to remove it from view. Test the final disabled appearance in the running game.
