SetUiColor
Recolors a text or a rectangle; the alpha stays (SetUiAlpha).
Syntax
Section titled “Syntax”SetUiColor(name, color)| Parameter | Type | |
|---|---|---|
name |
string | the element |
color |
number | 0xRRGGBB |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”SetUiColor("title", COLOR_RED)See also
Section titled “See also”SetUiAlpha · the The game’s UI for a script group of the index
