Skip to content

SetUiSize

Resizes a rectangle.

SetUiSize(name, w, h)
Parameter Type
name string the rectangle
w number the width
h number the height

nothing

SetUiSize("bar", 200 * health / maxHealth, 12)

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