setButtonX

fun setButtonX(buttonId: Int, x: Int): Gui

Sets the button's x position

Return

the Gui for method chaining

Parameters

buttonId

id of the button

x

the new x position

Sources

Link copied to clipboard