# Ghost through walls flag doesn't work

**URL:** <https://forum.makecode.com/t/ghost-through-walls-flag-doesnt-work/30878>\
**Category:** Help\
**Created:** [September 27, 2024, 9:27pm UTC](https://forum.makecode.com/t/ghost-through-walls-flag-doesnt-work/30878 "2024-09-27T21:27:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueMoon2607](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bluemoon2607/32/17370_2.png) [@BlueMoon2607](https://forum.makecode.com/u/BlueMoon2607)\
**Post date:** [September 27, 2024, 9:27pm UTC](https://forum.makecode.com/t/ghost-through-walls-flag-doesnt-work/30878/1 "2024-09-27T21:27:38Z")

</div>

The “ghost through walls” sprite flag is broken. Sprites cannot go through walls after being set to ON on “ghost through walls”. How does this thing work? Please fix.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [September 27, 2024, 9:27pm UTC](https://forum.makecode.com/t/ghost-through-walls-flag-doesnt-work/30878/2 "2024-09-27T21:27:55Z")

</div>

@BlueMoon2607 can you share your code?

---

<div class="post-metadata">

**Author:** ![BlueMoon2607](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bluemoon2607/32/17370_2.png) [@BlueMoon2607](https://forum.makecode.com/u/BlueMoon2607)\
**Post date:** [September 29, 2024, 5:24am UTC](https://forum.makecode.com/t/ghost-through-walls-flag-doesnt-work/30878/3 "2024-09-29T05:24:20Z")

</div>

Here, it’s currently WIP though:

> **[Great Marble Maze](https://arcade.makecode.com/S33759-89997-52386-71849)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Press B after the game starts and then again and play attention to the clock at the top of the screen, where you see “BONUS” sprites. I tried “ghost through walls” and it doesn’t work.
