# How to make sprites not able to be walked through using blocks?

**URL:** <https://forum.makecode.com/t/how-to-make-sprites-not-able-to-be-walked-through-using-blocks/24034>\
**Category:** Help\
**Tags:** game\
**Created:** [November 6, 2023, 7:22pm UTC](https://forum.makecode.com/t/how-to-make-sprites-not-able-to-be-walked-through-using-blocks/24034 "2023-11-06T19:22:58Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Vegz78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/vegz78/32/1201_2.png) [@Vegz78](https://forum.makecode.com/u/Vegz78)\
**Post date:** [November 7, 2023, 5:19pm UTC](https://forum.makecode.com/t/how-to-make-sprites-not-able-to-be-walked-through-using-blocks/24034/6 "2023-11-07T17:19:33Z")

</div>

> [@Luke](#):
>
> …the opposing velocity should be higher so it works.

Is what you are saying here somewhat related to this, @Luke?:

> [@Effect of different widths on overlapping features, what am I doing wrong?](https://forum.makecode.com/t/effect-of-different-widths-on-overlapping-features-what-am-i-doing-wrong/22161):
>
> In my game, I have three differently-sized pink straight-line sprites: one with a size of 1x16, one with a size of 1x120, and the otherwith a size of 2x120. However, I’m encountering an issue where the ‘overlaps’ function doesn’t work when my sprite size is 1x120. But when I create sprites with sizes 1x16 and 2x120, the ‘overlaps’ function does work. [image] What I want is for the ‘overlaps’ function to destroy the overlapped ‘badGuy’ whenever any size of player sprite overlaps it.…

---

_[View the full topic](https://forum.makecode.com/t/how-to-make-sprites-not-able-to-be-walked-through-using-blocks/24034)._
