GuiInterface.setButtonEnabled
Sets the enabled state of a widget
Kind: Function
Environments: Game
Game
guiInterface:setButtonEnabled( widgetName, enabled )
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 |