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

# npc.showshadow

```lua
npc.showshadow()
```

|                         |                                   |
| ----------------------- | --------------------------------- |
| id                      | `0x010E`                          |
| arguments               | 0                                 |
| in NPC Kit              | yes                               |
| measured from a kit NPC | returns                           |
| vanilla scripts         | 1456 calls in 149 of 1114 scripts |

## What it does

Shows the NPC's ground shadow. The shadow has its own switch, apart from the model's.

## Timing

Returns at once.

## In NPC Kit

Last line of `init`, after `show()`. For an NPC shown on cue, call both.

## Used with

* [hideshadow](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/hideshadow.md): its off switch.
* [show](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/show.md).
* [setprojectionshadow](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setprojectionshadow.md): the other, projected shadow.

## Example

The end of every visible NPC's `init`, and the pair of any show on cue.

```lua
init = function()
    -- ... bind, motion, position ...
    npc.clearhidecomplete();
    npc.show();
    npc.showshadow();
end,
```

## Pitfalls

* An NPC shown with `show()` and no `showshadow()` floats with no shadow.
