> ## 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 Animation Playing

> Checks if an NPC is playing a specific animation.

The `btcmob_npc_animation_playing_fact` returns `1` if the specified animation is currently playing on the NPC.

## Configuration

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

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

    <ResponseField name="animation" type="String" required>
      The animation name to check.
    </ResponseField>
  </Expandable>
</ResponseField>
