> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# NPC Presence

> Checks if the NPC is currently spawned.

The `btcmob_npc_presence_fact` returns `1` if the NPC is physically spawned in the world.

## Configuration

<ResponseField name="btcmob_npc_presence_fact" type="Map" required>
  Configuration for the fact.

  <Expandable title="Properties">
    <ResponseField name="npc" type="String">
      Optional NPC ID.
    </ResponseField>

    <ResponseField name="instanceId" type="Integer">
      Specific instance ID to check.
    </ResponseField>
  </Expandable>
</ResponseField>
