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

# npc.setnavimapfootmarkstatus

```lua
npc.setnavimapfootmarkstatus(enable)
```

|                         |                                 |
| ----------------------- | ------------------------------- |
| id                      | `0x0416`                        |
| arguments               | 1: Int                          |
| in NPC Kit              | yes                             |
| measured from a kit NPC | returns                         |
| vanilla scripts         | 485 calls in 96 of 1114 scripts |

## What it does

Turns the minimap's footprint trail on (`1`) or off (`0`). While on, the trail gains a point each time the party leader is more than 3 units on the ground from the last one, keeping the last 16.

## Arguments

### `enable` (Int)

`1` on, `0` off.

## Timing

Returns at once.

## In NPC Kit

The trail is the game's, not the NPC's: one switch for the whole field. Vanilla turns it off when a scene takes the player over and, at the end, clears it and turns it back on. A kit scene that turns it off must turn it on again, or the minimap stays without footprints.

## Used with

* [clearnavimapfootmark](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/clearnavimapfootmark.md): drop the points before turning it back on.

## Example

The end of a scene, as vanilla closes one.

```lua
npc.clearnavimapfootmark();
npc.setnavimapfootmarkstatus(1);
```
