# How do i spawn multiple enemies?

**URL:** <https://forum.makecode.com/t/how-do-i-spawn-multiple-enemies/18677>\
**Category:** Help\
**Created:** [March 22, 2023, 3:03pm UTC](https://forum.makecode.com/t/how-do-i-spawn-multiple-enemies/18677 "2023-03-22T15:03:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brainstorm\_Studios](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brainstorm_studios/32/20476_2.png) [@Brainstorm\_Studios](https://forum.makecode.com/u/Brainstorm_Studios)\
**Post date:** [March 22, 2023, 3:03pm UTC](https://forum.makecode.com/t/how-do-i-spawn-multiple-enemies/18677/1 "2023-03-22T15:03:40Z")

</div>

I got together some code to spawn in enemies, and it works as expected, but it only spawns one visible enemy when i try to add animations. How can i prevent this? Here’s the code, for troubleshooting purposes.  
[https://arcade.makecode.com/S32811-18989-14831-57716](https://arcade.makecode.com/S32811-18989-14831-57716)

---

<div class="post-metadata">

**Author:** ![SkillMapster430](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/skillmapster430/32/10497_2.png) [@SkillMapster430](https://forum.makecode.com/u/SkillMapster430)\
**Post date:** [March 22, 2023, 10:02pm UTC](https://forum.makecode.com/t/how-do-i-spawn-multiple-enemies/18677/2 "2023-03-22T22:02:47Z")

</div>

Are you using the character animation extension?

---

<div class="post-metadata">

**Author:** ![Brainstorm\_Studios](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brainstorm_studios/32/20476_2.png) [@Brainstorm\_Studios](https://forum.makecode.com/u/Brainstorm_Studios)\
**Post date:** [March 24, 2023, 4:49pm UTC](https://forum.makecode.com/t/how-do-i-spawn-multiple-enemies/18677/3 "2023-03-24T16:49:29Z")

</div>

Yes, why?

---

<div class="post-metadata">

**Author:** ![SkillMapster430](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/skillmapster430/32/10497_2.png) [@SkillMapster430](https://forum.makecode.com/u/SkillMapster430)\
**Post date:** [March 24, 2023, 5:54pm UTC](https://forum.makecode.com/t/how-do-i-spawn-multiple-enemies/18677/4 "2023-03-24T17:54:10Z")

</div>

if you are using the character animation blocks for enemies, don’t, use normal animation blocks, to make the enemy fit with normal animation blocks, make the enemy face the screen.  
Hopes this helps!
