Updated Object (markdown)
@@ -26,7 +26,7 @@ Changes the position relative to its parent frame
|
|||||||
````lua
|
````lua
|
||||||
local mainFrame = NyoUI.createFrame("myFirstFrame"):setPosition(2,3)
|
local mainFrame = NyoUI.createFrame("myFirstFrame"):setPosition(2,3)
|
||||||
````
|
````
|
||||||
**args:** int x, int y<br>
|
**args:** int x, int y[, "r"], "r" as third parameter means it will add x and y to current position instead of set it<br>
|
||||||
**returns:** the frame object<br>
|
**returns:** the frame object<br>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user