GuiInterface.setButtonState

Sets the button state

Kind: Function

Environments: Game

Game

guiInterface:setButtonState( buttonName, state )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
gui GuiInterface The Gui interface
buttonName string The name of the button
state boolean The state of the button