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

# npc.stdmotionplay

```lua
npc.stdmotionplay(motion)
```

|                         |                                   |
| ----------------------- | --------------------------------- |
| id                      | `0x011D`                          |
| arguments               | 1: Int                            |
| in NPC Kit              | yes                               |
| measured from a kit NPC | returns                           |
| vanilla scripts         | 7120 calls in 535 of 1114 scripts |

## What it does

Plays a standard motion of the NPC's package with the default start: the same as [stdmotionplay\_2c2](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionplay_2c2.md) with a blend of `-1.0`.

## Arguments

### `motion` (Int)

`0x01000000 + n`, standard motion `n` (table in [stdmotionplay\_2c2](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionplay_2c2.md)). Vanilla's most common: `0x01000000` (2,705 calls), `0x0100001c` (2,129), `0x01000002`, `0x01000016`, `0x01000010`.

## Timing

Returns at once. The motion plays only with the package loaded.

## In NPC Kit

Works on a kit NPC. The kit examples use `stdmotionplay_2c2`, which gives the blend: `20` for a change the player sees, `0` in `init`.

## Used with

* [stdmotionread](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionread.md) + [stdmotionreadsync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionreadsync.md) before.
* [stdmotionplay\_2c2](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionplay_2c2.md): the same with a blend.

## Example

The idle back with the game's default blend, after a gesture.

```lua
nod = function()
    npc.stdmotionplay_2c2(0x01000014, 20);   -- yes
    npc.wait(40);
    npc.stdmotionplay(0x01000000);            -- idle, default blend
end,
```
