Skip to reading
GDScript Programming & Godot

GUI element property keys

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

These are exact keys offered by the shared property picker in this build. Use them with the matching native helper/action and the expected value type. A type-specific widget/entity may not implement every generic field.

Source table from GUI element property keys, page 283
Key / pathUsage
visibleBoolean on/off state. Visibility and interaction enablement are separate.
positionMatch the target’s vector type. GUI values usually use Vector2; 3D object transforms use Vector3.
sizeMatch the target’s vector type. GUI values usually use Vector2; 3D object transforms use Vector3.
scaleMatch the target’s vector type. GUI values usually use Vector2; 3D object transforms use Vector3.
rotation_degreesRead the existing value to confirm its type, then use the matching helper/action. Type-specific controls can expose extra behavior.
modulateRead the existing value to confirm its type, then use the matching helper/action. Type-specific controls can expose extra behavior.
mouse_filterRead the existing value to confirm its type, then use the matching helper/action. Type-specific controls can expose extra behavior.
z_indexRead the existing value to confirm its type, then use the matching helper/action. Type-specific controls can expose extra behavior.
windowBorderRadiusNumeric corner/part radius. Use the intended part and its inheritance override; do not write the same value to unrelated widget parts unless intended.
radiusTopLeftNumeric corner/part radius. Use the intended part and its inheritance override; do not write the same value to unrelated widget parts unless intended.
radiusTopRightNumeric corner/part radius. Use the intended part and its inheritance override; do not write the same value to unrelated widget parts unless intended.
radiusBottomRightNumeric corner/part radius. Use the intended part and its inheritance override; do not write the same value to unrelated widget parts unless intended.
radiusBottomLeftNumeric corner/part radius. Use the intended part and its inheritance override; do not write the same value to unrelated widget parts unless intended.
windowBackgroundEnabledBoolean on/off state. Visibility and interaction enablement are separate.
windowBackgroundRead the existing value to confirm its type, then use the matching helper/action. Type-specific controls can expose extra behavior.
windowBorderEnabledBoolean on/off state. Visibility and interaction enablement are separate.
windowBorderWidthRead the existing value to confirm its type, then use the matching helper/action. Type-specific controls can expose extra behavior.
Page 283 of 378Permalink
Go to page