Skip to content

API > Text > alignment


Text.alignment⚓︎

Name Type
alignment TextAnchor

Description⚓︎

The positioning of the text reliative to its RectTransform.

Extra Detail⚓︎

This is the positioning of the Text relative to its RectTransform. You can alter this via script or in the Inspector of a Text component using the buttons in the Alignment section.