setButtonVisibility

fun setButtonVisibility(buttonId: Int, visible: Boolean): Gui

Sets the visibility of a button

Return

the Gui for method chaining

Parameters

buttonId

the id of the button to change

visible

the new visibility of the button

Sources

Link copied to clipboard