ControlAnchor Enumeration |
[Missing <summary> documentation for "T:Godot.Control.Anchor"]
Namespace: Godot
public enum Anchor
Member name | Value | Description | |
---|---|---|---|
Begin | 0 | Snaps one of the 4 anchor's sides to the origin of the node's Rect, in the top left. Use it with one of the anchor_* member variables, like AnchorLeft. To change all 4 anchors at once, use SetAnchorsPreset(ControlLayoutPreset, Boolean). | |
End | 1 | Snaps one of the 4 anchor's sides to the end of the node's Rect, in the bottom right. Use it with one of the anchor_* member variables, like AnchorLeft. To change all 4 anchors at once, use SetAnchorsPreset(ControlLayoutPreset, Boolean). |