Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsAlignDefines the alignment behavior along an axis.Read time 1 minuteLast updated 6 days agoDefinition Type: Enum Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule public enum Align Fields ValueDescriptionAutoLet Flex decide.CenterItems are centered on the axis.FlexEndEnd margin of the item is placed at the end of the axis.FlexStartStart margin of the item is placed at the start of the axis.StretchDefault. stretch to fill the axis while respecting min/max values.