TextYAlignment (Property)

TextYAlignment
Property TextYAlignment TextYAlignment
Description Sets where the text is placed in a GUI on the Y axis.
Member of TextBox, TextButton, TextLabel


Example
The resulting label's text will be centered.
Instance.new('TextLabel', script.Parent).TextYAlignment = Enum.TextYAlignment.Center