# Racing Engine Not Obeying Walls

**URL:** <https://forum.makecode.com/t/racing-engine-not-obeying-walls/28950>\
**Category:** Help\
**Created:** [May 25, 2024, 6:02pm UTC](https://forum.makecode.com/t/racing-engine-not-obeying-walls/28950 "2024-05-25T18:02:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Siyanide](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/siyanide/32/7225_2.png) [@Siyanide](https://forum.makecode.com/u/Siyanide)\
**Post date:** [May 25, 2024, 6:02pm UTC](https://forum.makecode.com/t/racing-engine-not-obeying-walls/28950/1 "2024-05-25T18:02:19Z")

</div>

Making a top-down racing game, but there is one issue. The ‘car’ clips though the default tilemap walls, possibly due to instant motion changes. If someone could help me fix my code, that would be great. [https://makecode.com/\_H8Vft1J9xFov](https://makecode.com/_H8Vft1J9xFov)

---

<div class="post-metadata">

**Author:** ![Siyanide](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/siyanide/32/7225_2.png) [@Siyanide](https://forum.makecode.com/u/Siyanide)\
**Post date:** [May 26, 2024, 3:17pm UTC](https://forum.makecode.com/t/racing-engine-not-obeying-walls/28950/2 "2024-05-26T15:17:54Z")

</div>

Also, forgot to mention a weird upwards creep in sprite count with no explanation.
