# How do i restrict heros?

**URL:** <https://discourse.codecombat.com/t/how-do-i-restrict-heros/30077>\
**Category:** Adventurer\
**Created:** [August 19, 2021, 12:11am UTC](https://discourse.codecombat.com/t/how-do-i-restrict-heros/30077 "2021-08-19T00:11:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![memelord](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/memelord/32/22155_2.png) [@memelord](https://discourse.codecombat.com/u/memelord)\
**Post date:** [August 19, 2021, 12:11am UTC](https://discourse.codecombat.com/t/how-do-i-restrict-heros/30077/1 "2021-08-19T00:11:55Z")

</div>

so i made a new level but I want it to be so that you can only play with a ranger-type hero help, please!

---

<div class="post-metadata">

**Author:** ![abc](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@abc](https://discourse.codecombat.com/u/abc)\
**Post date:** [August 19, 2021, 1:39pm UTC](https://discourse.codecombat.com/t/how-do-i-restrict-heros/30077/2 "2021-08-19T13:39:04Z")

</div>

I am not 100% sure, but I think you have to go to the game settings and add “Allowed Heroes”. Then you have to add each hero type.
