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

# npc.setfocusstatus

```lua
npc.setfocusstatus(enabled)
```

|                         |                                   |
| ----------------------- | --------------------------------- |
| id                      | `0x0135`                          |
| arguments               | 1: Int                            |
| in NPC Kit              | yes                               |
| measured from a kit NPC | returns                           |
| vanilla scripts         | 2884 calls in 265 of 1114 scripts |

## What it does

Turns the scene's focus effect on (`1`) or off (`0`). While it is on, the game hands the values the other `setfocus` calls set to the renderer's post-processing each time it updates. The name says focus, a depth-of-field blur; which picture effect it is has not been confirmed.

## Arguments

### `enabled` (Int)

`1` on, `0` off. Vanilla: `1` 1,604 times, `0` 1,280.

## Timing

Returns at once.

## In NPC Kit

A scene that wants its shots without the focus effect turns it off when it opens.

## Example

```lua
open = function()
    npc.fadeout(15);
    npc.fadesync();
    npc.setfocusstatus(0);
    npc.camerastart_7e(0, npc.camera("npckit_0006"));
    npc.fadein(15);
    npc.fadesync();
end,
```
