SetUiAlign
Changes which edge of a text sits at its x.
Syntax
Section titled “Syntax”SetUiAlign(name, align)| Parameter | Type | |
|---|---|---|
name |
string | the text |
align |
number | UI_ALIGN_LEFT, UI_ALIGN_CENTRE or UI_ALIGN_RIGHT |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”SetUiAlign("clock", UI_ALIGN_RIGHT)See also
Section titled “See also”CreateUiText · the The game’s UI for a script group of the index
