SetUiSize
Resizes a rectangle.
Syntax
Section titled “Syntax”SetUiSize(name, w, h)| Parameter | Type | |
|---|---|---|
name |
string | the rectangle |
w |
number | the width |
h |
number | the height |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”SetUiSize("bar", 200 * health / maxHealth, 12)See also
Section titled “See also”CreateUiRect · the The game’s UI for a script group of the index
