> 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/stdmotiondispose.md).

# npc.stdmotiondispose

```lua
npc.stdmotiondispose()
```

|                         |                                 |
| ----------------------- | ------------------------------- |
| id                      | `0x011A`                        |
| arguments               | 0                               |
| in NPC Kit              | yes                             |
| measured from a kit NPC | returns                         |
| vanilla scripts         | 262 calls in 16 of 1114 scripts |

## What it does

Stops the NPC's motion and drops its hold on its standard-motion package; the package unloads once nothing else holds it.

## Timing

Returns at once.

## In NPC Kit

Not needed in a normal NPC. After it the NPC has no package: load one again with [stdmotionread](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionread.md) before playing motions.

## Used with

* [stdmotionread](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionread.md).

## Example

Changing the NPC's package: dispose the old one, load the new one, play from it.

```lua
sitDown = function()
    npc.stdmotiondispose();
    npc.stdmotionread(18);
    npc.stdmotionreadsync();
    npc.stdmotionvariation(1);
    npc.stdmotionplay_2c2(0x01000000, 0);
end,
```

## Pitfalls

* A motion played between the dispose and the new `stdmotionreadsync` plays nothing.
