GuiInterface.setFocus
Sets a widget to receive key focus
Kind: Function
Environments: Game
Game
guiInterface:setFocus( widgetName )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
gui |
GuiInterface | The Gui interface |
widgetName |
string | The name of the widget that needs focus |