> For the complete documentation index, see [llms.txt](https://fehdead.gitbook.io/npc-kit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectcancelall.md).

# npc.effectcancelall

```lua
npc.effectcancelall()
```

|                         |                                  |
| ----------------------- | -------------------------------- |
| id                      | `0x00E5`                         |
| arguments               | 0                                |
| in NPC Kit              | yes                              |
| measured from a kit NPC | returns                          |
| vanilla scripts         | 119 calls in 103 of 1114 scripts |

## What it does

Stops the effects of all 32 script effect slots at once.

## Timing

Returns at once.

## In NPC Kit

All 32 means the map's own effects too. For an NPC's own effect, use [effectcancel\_e4](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectcancel_e4.md) on its slot. Not tested on a kit NPC.

## Used with

* [effectcancel\_e4](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectcancel_e4.md): one slot.

## Example

The vanilla shape, at the end of a scene.

```lua
finish = function()
    npc.effectcancelall();
end,
```

## Pitfalls

* Cuts the map's effects short as well.
