SetUiPos
Moves an element.
Syntax
Section titled “Syntax”SetUiPos(name, x, y)| Parameter | Type | |
|---|---|---|
name |
string | the element |
x |
number | the new x (inside the parent) |
y |
number | the new y |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”SetUiPos("panel", 40, 300)See also
Section titled “See also”SetUiSize · WorldToScreen · the The game’s UI for a script group of the index
