# Enemy only door

**URL:** <https://forum.makecode.com/t/enemy-only-door/46424>\
**Category:** Help\
**Created:** [October 11, 2026, 7:30pm UTC](https://forum.makecode.com/t/enemy-only-door/46424 "2026-10-11T19:30:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilovegaming21\_OG](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ilovegaming21_og/32/35965_2.png) [@ilovegaming21\_OG](https://forum.makecode.com/u/ilovegaming21_OG)\
**Post date:** [October 11, 2026, 7:30pm UTC](https://forum.makecode.com/t/enemy-only-door/46424/1 "2026-10-11T19:30:16Z")

</div>

Help i need to make it so that the grey

block is a boss only door for my tower

defence game!!

> **[tower-defense - Copy](https://arcade.makecode.com/S60675-81129-37770-89832)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [October 12, 2026, 4:29pm UTC](https://forum.makecode.com/t/enemy-only-door/46424/2 "2026-10-12T16:29:08Z")

</div>

I don’t think that anybody’s made that before though Im interested to see if anybody else responds

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [October 13, 2026, 3:22am UTC](https://forum.makecode.com/t/enemy-only-door/46424/3 "2026-10-13T03:22:40Z")

</div>

> **[tower-defense - Copy - boss wall](https://arcade.makecode.com/S40837-21065-93973-32441)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Ok so how I did this was I added these two tiles, one for making the boss phase through walls and one for ending the wall phase effect:

 ![Screenshot 2026-10-12 at 12.27.39 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/e/1/e19750661a0685acc71343b7cfefece91b73010e.png)  
Then I made these tiles turn on and off the “Ghost through walls” sprite flag on the boss:  
 ![Screenshot 2026-10-12 at 12.27.28 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/e/ced458cce40dfc41fd5b7498122793f5b9c959a2.png)  
Then I removed this bit of code cause it was causing troubles and making the normal enemies enter the wall:  
 ![Screenshot 2026-10-12 at 12.27.16 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/0/9/09ceeebf5218ef2daaad072512f2dddf18636e09.png)  
I hope this solution works for you!

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [October 13, 2026, 3:42am UTC](https://forum.makecode.com/t/enemy-only-door/46424/4 "2026-10-13T03:42:42Z")

</div>

Use sprite tilemaps to give the boss a different tilemap walls

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [October 13, 2026, 5:35pm UTC](https://forum.makecode.com/t/enemy-only-door/46424/5 "2026-10-13T17:35:30Z")

</div>

When woofwoof likes something it must be a good post

---

<div class="post-metadata">

**Author:** ![JakaBasej01](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JakaBasej01](https://forum.makecode.com/u/JakaBasej01)\
**Post date:** [October 13, 2026, 5:38pm UTC](https://forum.makecode.com/t/enemy-only-door/46424/6 "2026-10-13T17:38:32Z")

</div>

> [@TheEarth](#):
>
> Use sprite tilemaps to give the boss a different tilemap walls

Setting ghost mode on tile overlaps is the ultimate cheat code for when tilemaps refuse to cooperate
