The Align Elements setting adjusts the alignment of elements within a group along the main axis—vertically or horizontally—based on the chosen direction.
For instance, when the Horizontal direction is selected, elements align vertically to the center, top, or bottom of the container. Conversely, if the Vertical direction chosen, elements align horizontally to the center, left, or right side of the container. However, if the Hug option is enabled and all elements have the same width or height, the alignment won't change.