# engineRemoveEffects (Client)

> Removes the effects this resource added from a file with `engineAddEffects`.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Effects
- **URL**: https://wiki.mymp.gg/en/engineRemoveEffects

## Syntax

```lua
bool engineRemoveEffects(string path)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `path` | `string` | The same path given to `engineAddEffects`. |

## Returns

`true` if any effect was removed, `false` if this resource did not add that file.

Effects of the same name that were covered answer again. A resource's effects also go when it stops.

## Example

```lua
engineAddEffects("effects/neon.xml")
addCommandHandler("noneon", function()
    engineRemoveEffects("effects/neon.xml")
end)
```

## See also

- [engineAddEffects (Client)](https://wiki.mymp.gg/en/engineAddEffects.md): Registers the particle effects in a file of the resource, so createEffect can use them by name.
- [engineGetEffects (Client)](https://wiki.mymp.gg/en/engineGetEffects.md): Lists the particle effects loaded on this client.
