GuiInterface.setTextAcceptedCallback

Sets a callback to be called when the text change is accepted

Kind: Function

Environments: Game

Game

guiInterface:setTextAcceptedCallback( editBoxName, callback )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
gui GuiInterface The Gui interface
editBoxName string The edit box name
callback string Function to be called when text is committed