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

# npc.turncancel

```lua
npc.turncancel()
```

|                         |                               |
| ----------------------- | ----------------------------- |
| id                      | `0x0081`                      |
| arguments               | 0                             |
| in NPC Kit              | yes                           |
| measured from a kit NPC | returns                       |
| vanilla scripts         | 22 calls in 4 of 1114 scripts |

## What it does

Stops the NPC's body turn where it is: the NPC keeps the heading it has reached.

## Timing

Returns at once. A call waiting on the turn ([turnsync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/turnsync.md), [turn\_62](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/turn_62.md), [turnt](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/turnt.md)) is let go, since the turn is over.

## In NPC Kit

A press in the editor's Turn group.

## Used with

* [movecancel](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/movecancel.md): vanilla stops the walk and the turn together, `movecancel` then `turncancel`, when a scene freezes its actors.
* [lookatoff](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookatoff.md): often just before, to free the head too.

## Example

```lua
freeze = function()
    npc.lookatoff();
    npc.movecancel();
    npc.turncancel();
end,
```

## Pitfalls

* It leaves the NPC at an in-between heading: [dir](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/dir.md) after it if the NPC must face a set way.
