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

# npc.setkutipakustatus

```lua
npc.setkutipakustatus(state)
```

|                         |                                    |
| ----------------------- | ---------------------------------- |
| id                      | `0x02B8`                           |
| arguments               | 1: Int                             |
| in NPC Kit              | yes                                |
| measured from a kit NPC | returns                            |
| vanilla scripts         | 28035 calls in 354 of 1114 scripts |

## What it does

Starts (`1`) or stops (`0`) the NPC's mouth moving, the lip flap that plays while a character speaks. It is a switch: once on, the mouth keeps moving until a `setkutipakustatus(0)`. It changes only the mouth; the body motion is whatever is playing.

## Arguments

### `state` (Int)

`1` (any non-zero) mouth on, `0` mouth off. Vanilla passes only `1` and `0`, about equally often: every talk turns it on before its window and off after.

## Timing

Returns at once; the mouth starts or stops on the next frame. Nothing waits for it.

## In NPC Kit

Works on a kit NPC as on a vanilla one. It does nothing on an actor with no model (no `bindp2_d4` yet, or a model that failed to load).

On another NPC of the scene: `npc.on("id").setkutipakustatus(1)`.

## Used with

* [setunazukistatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setunazukistatus.md): the nods. Vanilla turns both on and off together (97% of talking NPCs).
* [setkubifuristatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setkubifuristatus.md): head shakes, for a livelier speaker (11% of talks).
* [stdmotionplay\_2c2](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionplay_2c2.md)`(0x01000002, 20)`: the talking pose, just before.
* [setkutipakustatus\_4a2](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setkutipakustatus_4a2.md): the same mouth for a fixed number of frames.
* In a scene: on for whoever speaks the current line, off for the listener (see `references/scenes.md`, Speaking).

## Example

```lua
-- talkOpen
npc.stdmotionplay_2c2(0x01000002, 20);
npc.setkutipakustatus(1);
npc.setunazukistatus(1);
-- ... the window, in npc.lua ...
-- talkClose
npc.setkutipakustatus(0);
npc.setunazukistatus(0);
```

## Pitfalls

* Left on after the talk, the NPC keeps mouthing in its idle. In the kit the `setkutipakustatus(0)` comes after `npc.lua`, so it runs only once every way out of the Lua has called `handle.finish()`.
* It doesn't follow the text. For a mouth that stops by itself, use `setkutipakustatus_4a2`.
