Despawan an npc spawed from a npx_spawner device?

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 :frowning:

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:

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.