Skip to content

SetUiAlign

Changes which edge of a text sits at its x.

SetUiAlign(name, align)
Parameter Type
name string the text
align number UI_ALIGN_LEFT, UI_ALIGN_CENTRE or UI_ALIGN_RIGHT

nothing

SetUiAlign("clock", UI_ALIGN_RIGHT)

CreateUiText · the The game’s UI for a script group of the index