> ## 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 Statistics Variable

> Access numeric stats of an NPC.

The `btcmob_npc_stat_variable` retrieves numeric statistics like Health or Level from an NPC.

## Configuration

<ResponseField name="btcmob_npc_stat_variable" type="Map" required>
  Configuration for the variable.

  <Expandable title="Properties">
    <ResponseField name="stat" type="Enum" required>
      The stat to read: `HEALTH`, `MAX_HEALTH`, `LEVEL`, `POWER`, etc.
    </ResponseField>

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