# Hits wall event doesn't fire

**URL:** <https://forum.makecode.com/t/hits-wall-event-doesnt-fire/6273>\
**Category:** Arcade\
**Created:** [February 19, 2021, 3:37pm UTC](https://forum.makecode.com/t/hits-wall-event-doesnt-fire/6273 "2021-02-19T15:37:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dragondad](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@dragondad](https://forum.makecode.com/u/dragondad)\
**Post date:** [February 19, 2021, 3:37pm UTC](https://forum.makecode.com/t/hits-wall-event-doesnt-fire/6273/1 "2021-02-19T15:37:41Z")

</div>

I feel like I’ve missed something really obvious and fundamental but - I can’t figure out how to get the “on sprite of kind [] hits wall at []” event to fire.

Say you have a sprite with “bounce on walls” set to ON. It will bounce around a blank screen. But if I add an “on sprite of kind [] hits wall at []” event, it does not seem to fire. I’ve tried toggling “bounce on walls” on and off, verified that the sprite kind is correct.

What am I missing? Is there something I need to do to define a “wall”? Is “bounce on walls” somehow not compatible with this event?

Thanks!

---

<div class="post-metadata">

**Author:** ![GameGod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gamegod/32/2756_2.png) [@GameGod](https://forum.makecode.com/u/GameGod)\
**Post date:** [February 19, 2021, 4:13pm UTC](https://forum.makecode.com/t/hits-wall-event-doesnt-fire/6273/2 "2021-02-19T16:13:17Z")

</div>

That block is for tilemap walls. You can edit the tilemap in scene.

---

<div class="post-metadata">

**Author:** ![dragondad](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@dragondad](https://forum.makecode.com/u/dragondad)\
**Post date:** [February 19, 2021, 4:50pm UTC](https://forum.makecode.com/t/hits-wall-event-doesnt-fire/6273/3 "2021-02-19T16:50:43Z")

</div>

Ah, I see. Thanks very much! I’ve put a blank 10x8 tilemap in place now and the event is firing correctly.

(That’s the best dimensions I could work out to get the tilemap to fit with the size of the screen, but it seems like it’s not quite lining up on the y-axis - 10x7 is slightly too short, and 10x8 slightly too tall. But it’s got me over that hurdle!)

---

<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:** [February 19, 2021, 4:51pm UTC](https://forum.makecode.com/t/hits-wall-event-doesnt-fire/6273/4 "2021-02-19T16:51:58Z")

</div>

You can add the extension `riknoll/small-tilemaps` to get a block with 8x8 tiles which you can use to fit the screen perfectly.

---

<div class="post-metadata">

**Author:** ![dragondad](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@dragondad](https://forum.makecode.com/u/dragondad)\
**Post date:** [February 19, 2021, 4:54pm UTC](https://forum.makecode.com/t/hits-wall-event-doesnt-fire/6273/5 "2021-02-19T16:54:31Z")

</div>

Ah - amazing! Thanks!

---

<div class="post-metadata">

**Author:** ![cooltornado](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@cooltornado](https://forum.makecode.com/u/cooltornado)\
**Post date:** [February 19, 2021, 6:16pm UTC](https://forum.makecode.com/t/hits-wall-event-doesnt-fire/6273/6 "2021-02-19T18:16:49Z")

</div>

i had bugs when i started
