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

# npc.fs\_stonewinclose

```lua
npc.fs_stonewinclose()
```

|                         |                                 |
| ----------------------- | ------------------------------- |
| id                      | `0x702E`                        |
| arguments               | 0                               |
| in NPC Kit              | yes                             |
| measured from a kit NPC | returns                         |
| vanilla scripts         | 324 calls in 81 of 1114 scripts |

## What it does

Closes the count window [fs\_stonewinopen](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/fs_stonewinopen.md) opened. Does nothing with no window.

## Timing

Returns at once.

## Used with

* [fs\_stonewinopen](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/fs_stonewinopen.md).

## Example

```lua
openStones = function()
    npc.fs_stonewinopen(npc.haveitem(0x2000));   -- Teleport Stones
end,
closeStones = function()
    npc.fs_stonewinclose();
end,

-- in the Lua, every way out of the talk: handle.run("closeStones", function() handle.finish() end)
```

## Pitfalls

* Left open, the window stays on screen after the talk.
