# Why do my sprites spawn in the wall?

**URL:** <https://forum.makecode.com/t/why-do-my-sprites-spawn-in-the-wall/16440>\
**Category:** Help\
**Tags:** game\
**Created:** [November 21, 2022, 1:19am UTC](https://forum.makecode.com/t/why-do-my-sprites-spawn-in-the-wall/16440 "2022-11-21T01:19:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoolSwords4](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/coolswords4/32/9222_2.png) [@CoolSwords4](https://forum.makecode.com/u/CoolSwords4)\
**Post date:** [November 21, 2022, 1:19am UTC](https://forum.makecode.com/t/why-do-my-sprites-spawn-in-the-wall/16440/1 "2022-11-21T01:19:12Z")

</div>

So I’m making this game, and I told it to spawn the player and the enemy on their respective spawn points, and then remove them. But they just both get stuck in the wall instead. How do I fix this?

I adjusted the code so the enemy doesn’t kill you.  
Press B to see a top-down view to get a better idea of what’s going on.  
[https://arcade.makecode.com/S13638-40731-54840-92398](https://arcade.makecode.com/S13638-40731-54840-92398)

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [November 21, 2022, 5:53pm UTC](https://forum.makecode.com/t/why-do-my-sprites-spawn-in-the-wall/16440/2 "2022-11-21T17:53:17Z")

</div>

The link isnt working for me!

---

<div class="post-metadata">

**Author:** ![isoffline](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/isoffline/32/8791_2.png) [@isoffline](https://forum.makecode.com/u/isoffline)\
**Post date:** [November 21, 2022, 7:05pm UTC](https://forum.makecode.com/t/why-do-my-sprites-spawn-in-the-wall/16440/3 "2022-11-21T19:05:34Z")

</div>

it doesnt work for me either try making a copy and share that link

---

<div class="post-metadata">

**Author:** ![personalnote](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/personalnote/32/31359_2.png) [@personalnote](https://forum.makecode.com/u/personalnote)\
**Post date:** [November 21, 2022, 7:05pm UTC](https://forum.makecode.com/t/why-do-my-sprites-spawn-in-the-wall/16440/4 "2022-11-21T19:05:37Z")

</div>

My man is back

I remember you posting that topic about the boss phases issue. Loved the project.

I don’t know if there is an issue with the servers right now, but it says the page is missing. I’ll have to check on it later or something.

Can you identify the code that is causing this?

---

<div class="post-metadata">

**Author:** ![CoolSwords4](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/coolswords4/32/9222_2.png) [@CoolSwords4](https://forum.makecode.com/u/CoolSwords4)\
**Post date:** [November 22, 2022, 9:19pm UTC](https://forum.makecode.com/t/why-do-my-sprites-spawn-in-the-wall/16440/5 "2022-11-22T21:19:13Z")

</div>

Ah, sorry guys! Not sure what was wrong with the link. I have since fixed this bug. Not exactly sure what was wrong, but I think it might have had something to do with the game telling the sprites to go to the spawns before they load in. Here is the current version of the game if anybody is interested. [https://arcade.makecode.com/S13638-40731-54840-92398](https://arcade.makecode.com/S13638-40731-54840-92398)  
If you encounter any glitches, let me know!!!

---

<div class="post-metadata">

**Author:** ![personalnote](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/personalnote/32/31359_2.png) [@personalnote](https://forum.makecode.com/u/personalnote)\
**Post date:** [November 28, 2022, 5:27pm UTC](https://forum.makecode.com/t/why-do-my-sprites-spawn-in-the-wall/16440/6 "2022-11-28T17:27:45Z")

</div>

no worries man good to see u back
