GuiInterface.setGridButtonCallback

Sets a callback to be called when a button inside a grid is pressed

Kind: Function

Environments: Game

Game

guiInterface:setGridButtonCallback( buttonName, callback )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
gui GuiInterface The Gui interface
buttonName string The button name
callback string Function to be called when button is pressed