GuiInterface.setButtonEnabled

Sets the enabled state of a widget

Kind: Function

Environments: Game

Game

guiInterface:setButtonEnabled( widgetName, enabled )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
gui GuiInterface The Gui interface
widgetName string The name of the widget
enabled boolean True if the widget should be enabled