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

# npc.dira

```lua
npc.dira(actor)
```

|                         |                                |
| ----------------------- | ------------------------------ |
| id                      | `0x004D`                       |
| arguments               | 1: Int                         |
| in NPC Kit              | yes                            |
| measured from a kit NPC | returns                        |
| vanilla scripts         | 65 calls in 34 of 1114 scripts |

## What it does

Turns the NPC to face an actor at once, a turn of zero frames, and the script goes on. [turna](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/turna.md) with no visible turn.

## Arguments

### `actor` (Int)

`-1` the character the player controls (29 of 65 vanilla calls), `0` or more an actor of the script; in the kit another NPC is `npc.actor("id")` (in a talk).

## Timing

Returns at once; the NPC faces the actor on the next frame.

## In NPC Kit

For a facing set off screen or under a fade. In view of the player it snaps; [turna](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/turna.md) turns visibly.

## Used with

* [turna](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/turna.md), [aturna](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/aturna.md): the visible turns.
* [dir](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/dir.md): a heading instead of an actor; [dir\_4e](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/dir_4e.md): a point.

## Example

```lua
npc.dira(-1);   -- face the player's character
```
