# How can I set true/false with a map when using a Mutator Zone

**URL:** <https://forums.unrealengine.com/t/how-can-i-set-true-false-with-a-map-when-using-a-mutator-zone/787385>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite\
**Created:** [March 9, 2023, 7:31pm UTC](https://forums.unrealengine.com/t/how-can-i-set-true-false-with-a-map-when-using-a-mutator-zone/787385 "2023-03-09T19:31:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cleverlike\_Studios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cleverlike_studios/32/1216891_2.png) [@Cleverlike\_Studios](https://forums.unrealengine.com/u/Cleverlike_Studios)\
**Post date:** [March 9, 2023, 7:31pm UTC](https://forums.unrealengine.com/t/how-can-i-set-true-false-with-a-map-when-using-a-mutator-zone/787385/1 "2023-03-09T19:31:34Z")

</div>

Using the `var PlayerEnterMutZone:[player]logic = map{}` how can I set true when ANY players are in a mutator zone?

I assumed it was `set PlayerEnterMutZone[Player] = true`  
but

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/2/dc2f69b289bdd9add6f3b6ade5721e07302f134b.png)

NOTE: Currently looking into the “decided”

---

<div class="post-metadata">

**Author:** ![DustinREDGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dustinredgames/32/634988_2.png) [@DustinREDGames](https://forums.unrealengine.com/u/DustinREDGames)\
**Post date:** [March 9, 2023, 8:19pm UTC](https://forums.unrealengine.com/t/how-can-i-set-true-false-with-a-map-when-using-a-mutator-zone/787385/2 "2023-03-09T20:19:56Z")

</div>

The “decides” effect means it needs to check if the value change will be valid. Potentially the Player could be null or your map is empty, etc… So it needs to be in an `if` condition.

So try this:

```auto
if (set PlayerEnterMutZone[Player] = true):
    # it worked, continue...

```

---

<div class="post-metadata">

**Author:** ![Cleverlike\_Studios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cleverlike_studios/32/1216891_2.png) [@Cleverlike\_Studios](https://forums.unrealengine.com/u/Cleverlike_Studios)\
**Post date:** [March 10, 2023, 12:11am UTC](https://forums.unrealengine.com/t/how-can-i-set-true-false-with-a-map-when-using-a-mutator-zone/787385/3 "2023-03-10T00:11:07Z")

</div>

Cool, thank you. And thank you for explaining it. I’ll give it a go, though we found another issue with the mutator zone. We are unable to teleport the player out of it, so we are thinking we need to come at this from another angle…

---

<div class="post-metadata">

**Author:** ![BrendannnD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BrendannnD](https://forums.unrealengine.com/u/BrendannnD)\
**Post date:** [March 10, 2023, 2:35am UTC](https://forums.unrealengine.com/t/how-can-i-set-true-false-with-a-map-when-using-a-mutator-zone/787385/4 "2023-03-10T02:35:16Z")

</div>

Are you not able to teleport them out with a teleporter device?

---

<div class="post-metadata">

**Author:** ![Cleverlike\_Studios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cleverlike_studios/32/1216891_2.png) [@Cleverlike\_Studios](https://forums.unrealengine.com/u/Cleverlike_Studios)\
**Post date:** [March 10, 2023, 3:58am UTC](https://forums.unrealengine.com/t/how-can-i-set-true-false-with-a-map-when-using-a-mutator-zone/787385/5 "2023-03-10T03:58:23Z")

</div>

I’m teleporting them from a spawn pad to a teleporter device when they choose a class.

It doesn’t work if I have a mutator zone around the spawn pad(s).
