Skip to reading
GDScript Programming & Godot

ChangeGUIProperty()

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

Change Gui Property

Change a supported property on an authored GUI.

Source table from ChangeGUIProperty(), page 178
Option key / fieldMeaning and inputDefault
GUI guiIdChoose an authored GUI ID.Blank
Property propertyChoose a GUI property.Blank
To valueA value of the type required by the selected variable, operation or property.Blank

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await ChangeGUIProperty({"guiId": "hud", "property": "visible", "value": true})

In use. Change a window's runtime appearance or layout using a property offered by the picker. Match the value type to the property. This is a runtime edit, not a request to rewrite the editor's theme.

Page 178 of 378Permalink
Go to page