JsonWidget.getEffect

Gets an effect from a widget.

Kind: Function

Environments: Game

Game

jsonWidget:getEffect( name )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
jsonWidget JsonWidget The JsonWidget.
name string The name of the effect on the json widget to get.

Returns:

Type Description
Effect The effect.