# Despawan an npc spawed from a npx\_spawner device?

**URL:** <https://forums.unrealengine.com/t/despawan-an-npc-spawed-from-a-npx-spawner-device/1939775>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [July 16, 2024, 6:20pm UTC](https://forums.unrealengine.com/t/despawan-an-npc-spawed-from-a-npx-spawner-device/1939775 "2024-07-16T18:20:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FabioA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FabioA](https://forums.unrealengine.com/u/FabioA)\
**Post date:** [July 16, 2024, 6:20pm UTC](https://forums.unrealengine.com/t/despawan-an-npc-spawed-from-a-npx-spawner-device/1939775/1 "2024-07-16T18:20:51Z")

</div>

Hello,  
I’m trying to despawn an NPC when they enter a mutator zone via Verse, but first of all I struggle to understand Verse at all ☹

I’m using the medic template, so I was pretty convinced I just had to replace some command et voilà! Not at all.

Why this:

```auto
if:
    Agent := GetAgent[]
    MutatorZone.IsInVolume[Agent]
            
then:
Print("YES!")

```

is totally ignored? And even if it works, how do I despawn that NPC when it gets in the volume?

I’m sure this is a dumb question, but I’m here to learn.
