Click or drag to resize

ControlMarginTop Property

Distance between the node's top edge and its parent control, based on AnchorTop.

Margins are often controlled by one or multiple parent Container nodes, so you should not modify them manually if your node is a direct child of a Container. Margins update automatically when you move or resize the node.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public float MarginTop { get; set; }

Property Value

Type: Single
See Also