# Brick breaking help

**URL:** <https://forum.makecode.com/t/brick-breaking-help/28984>\
**Category:** Help\
**Created:** [May 28, 2024, 5:46pm UTC](https://forum.makecode.com/t/brick-breaking-help/28984 "2024-05-28T17:46:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcodez](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mcodez/32/30743_2.png) [@mcodez](https://forum.makecode.com/u/mcodez)\
**Post date:** [May 28, 2024, 5:46pm UTC](https://forum.makecode.com/t/brick-breaking-help/28984/1 "2024-05-28T17:46:16Z")

</div>

Howdy I’m trying to make a Mario game and I need help trying to destroy a tile/replace function but I don’t know how to if anyone knows pls respond

> **[soper mareo bors](https://arcade.makecode.com/S99333-95453-26008-43043)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![kaleb3335](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kaleb3335/32/16382_2.png) [@kaleb3335](https://forum.makecode.com/u/kaleb3335)\
**Post date:** [May 29, 2024, 2:50am UTC](https://forum.makecode.com/t/brick-breaking-help/28984/2 "2024-05-29T02:50:37Z")

</div>

> **[brakeing bricks](https://arcade.makecode.com/S62761-53157-56404-01150)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

i just made this to show you how you can brake bricks and i saw that the lucky blocks did nothing so i coded that to so you could see

---

<div class="post-metadata">

**Author:** ![kaleb3335](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kaleb3335/32/16382_2.png) [@kaleb3335](https://forum.makecode.com/u/kaleb3335)\
**Post date:** [May 29, 2024, 2:50am UTC](https://forum.makecode.com/t/brick-breaking-help/28984/3 "2024-05-29T02:50:40Z")

</div>

just copy the code

---

<div class="post-metadata">

**Author:** ![babol](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/babol/32/27355_2.png) [@babol](https://forum.makecode.com/u/babol)\
**Post date:** [May 31, 2024, 10:30pm UTC](https://forum.makecode.com/t/brick-breaking-help/28984/4 "2024-05-31T22:30:00Z")

</div>

you shouldnt really do this. it should only break bricks if the player y velocity is less than 0 (thats the only problem)
