# JsonWidget.stopEffect

Stops the effect applied to the widget.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
jsonWidget:stopEffect( name, stopImmediate? )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `jsonWidget` | [JsonWidget](../Game-Script-Environment/Userdata/JsonWidget.md) | The JsonWidget. |
| `name` | string | The name of the effect to stop. |
| `stopImmediate` *(optional)* | boolean | If the effect should stop immediately. (Optional) (Defaults to false) |
