Skip to content

SetUiColor

Recolors a text or a rectangle; the alpha stays (SetUiAlpha).

SetUiColor(name, color)
Parameter Type
name string the element
color number 0xRRGGBB

nothing

SetUiColor("title", COLOR_RED)

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