GuiInterface.setFocus

Sets a widget to receive key focus

Kind: Function

Environments: Game

Game

guiInterface:setFocus( widgetName )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
gui GuiInterface The Gui interface
widgetName string The name of the widget that needs focus