Skip to reading
GDScript Programming & Godot

Designer: GUIs

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

Earlier edition reference / Current 0.86.4.0 property paths > p. 350

Authored GUI layouts.

Native record route: GUI.Get("hud").

Append .Get("property.path", fallback) for a read or .Set("property.path", value) for a write. Replace the example record ID with one from your own project.

Source table from Designer: GUIs, page 260
Stored pathType / accessPurpose and limits
idtext R / DefinitionStable GUI ID.
nametext W / DefinitionGUI display/editor name.
visibleboolean W / DefinitionAuthored initial GUI visibility. Use show/hide GUI statements for immediate runtime visibility.
modalboolean W / DefinitionWhether this GUI blocks gameplay input.
zIndexinteger W / DefinitionGUI draw ordering.
activationModetext W / DefinitionManual, hover, click, or another activation mode.
clickActivationAtMouseP ositionboolean W / DefinitionPlace click-activated GUI at the mouse.
clickActivationStopsPla yerboolean W / DefinitionStop player movement when click-activated.
hideWhenMouseLeavesboolean W / DefinitionHide hover GUI when the pointer leaves.
hoverDelaySecondsnumber W / DefinitionDelay before hover activation in seconds.
openTransitiondictionary W / Definition / ContainerTransition used when this GUI opens.
closeTransitiondictionary W / Definition / ContainerTransition used when this GUI closes.
windowFramedictionary W / Definition / ContainerWindow, title bar, and close-button appearance.
elementsarray R / DefinitionGUI element records. Edit individual elements in the GUI editor.
customdictionary W / Definition / ContainerProject-defined GUI properties.
openTransition.typetext W / DefinitionCut, fade, wipe, dissolve, or another authored transition.
Page 260 of 378Permalink
Go to page