setButtonLoc

fun setButtonLoc(buttonId: Int, x: Int, y: Int): Gui

Sets the button's position

Return

the Gui for method chaining

Parameters

buttonId

id of the button

x

the new x position

y

the new y position

Sources

Link copied to clipboard