# JsonWidget.isEffectPlaying

Returns if a named effect is playing or not.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
jsonWidget:isEffectPlaying( name )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/JsonWidget.md#iseffectplaying)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `jsonWidget` | [JsonWidget](../Game-Script-Environment/Userdata/JsonWidget.md) | The JsonWidget. |
| `name` | string | The name of the effect. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | True if the effect is playing, false otherwise. |
