GuiInterface.playGridEffect

Plays an effect at widget inside a grid

Kind: Function

Environments: Game

Game

guiInterface:playGridEffect( gridName, index, effectName, restart )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
gui GuiInterface The Gui interface
gridName string The name of the grid
index integer The index in the grid
effectName string The name of the effect
restart (optional) boolean If the effect should restart if its already palying (Defaults to true)