> ## 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.

# Despawn Mob

> Remove all active MythicMobs of a certain type.

The **Despawn Mob** action removes all active instances of a specific MythicMob type from the world. This is useful for clearing mobs after a quest failure or a timed event.

## Configuration

| Key       | Type     | Description                                    |
| :-------- | :------- | :--------------------------------------------- |
| `mobName` | `String` | The internal name of the MythicMob to despawn. |

## Usage Examples

### Cleanup after failure

Despawn all "QuestInvasion" mobs if the player fails to defend a village.

```yaml theme={null}
id: cleanup_invasion
type: despawn_mythicmobs_mob
mobName: VillageInvader
```
