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

# npc.setnavimapdrawstatus

```lua
npc.setnavimapdrawstatus(on)
```

|                         |              |
| ----------------------- | ------------ |
| id                      | `0x038B`     |
| arguments               | 1: Int       |
| in NPC Kit              | yes          |
| measured from a kit NPC | returns      |
| vanilla scripts         | never called |

## What it does

Shows or hides the NPC's dot on the navigation map (the minimap).

## Arguments

### `on` (Int)

`1` shows the dot, `0` hides it.

## Timing

Returns at once.

## In NPC Kit

The kit adds its NPCs to the list the game fills for the map's dots and name labels, so the switch reaches a kit NPC too. The dot needs the NPC's model ready, like the name label. No vanilla script calls it; not tested on a kit NPC.

## Used with

* [settalkiconstatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/settalkiconstatus.md): the talk balloon, from the same list.

## Example

```lua
init = function()
    -- ...
    npc.setnavimapdrawstatus(1);
end,
```

## Pitfalls

* Never called by vanilla: no vanilla scene to copy from.
