# How to load next room when reach end of wall?

**URL:** <https://forum.makecode.com/t/how-to-load-next-room-when-reach-end-of-wall/31167>\
**Category:** Help\
**Tags:** game, make\
**Created:** [October 14, 2024, 6:44pm UTC](https://forum.makecode.com/t/how-to-load-next-room-when-reach-end-of-wall/31167 "2024-10-14T18:44:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![gravethecoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gravethecoder/32/17144_2.png) [@gravethecoder](https://forum.makecode.com/u/gravethecoder)\
**Post date:** [October 14, 2024, 6:44pm UTC](https://forum.makecode.com/t/how-to-load-next-room-when-reach-end-of-wall/31167/1 "2024-10-14T18:44:35Z")

</div>

Hello!! I just wanna know how to when i go to the end of the wall it loads in the next room?

---

<div class="post-metadata">

**Author:** ![DangerNoodle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dangernoodle/32/14797_2.png) [@DangerNoodle](https://forum.makecode.com/u/DangerNoodle)\
**Post date:** [October 14, 2024, 7:57pm UTC](https://forum.makecode.com/t/how-to-load-next-room-when-reach-end-of-wall/31167/2 "2024-10-14T19:57:03Z")

</div>

create an if then statement where if the player touches it, it loads the next level by adding 1 to a variable. Use a block to make the player teleport to the start of it  
edit: this is a little difficult for beginners, so try @Luke 's 👇

---

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [October 14, 2024, 7:57pm UTC](https://forum.makecode.com/t/how-to-load-next-room-when-reach-end-of-wall/31167/3 "2024-10-14T19:57:12Z")

</div>

use tile utils and the doors blocks in it

---

<div class="post-metadata">

**Author:** ![gravethecoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gravethecoder/32/17144_2.png) [@gravethecoder](https://forum.makecode.com/u/gravethecoder)\
**Post date:** [October 15, 2024, 6:46pm UTC](https://forum.makecode.com/t/how-to-load-next-room-when-reach-end-of-wall/31167/4 "2024-10-15T18:46:10Z")

</div>

can i get an example? Just a bit confused

---

<div class="post-metadata">

**Author:** ![DangerNoodle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dangernoodle/32/14797_2.png) [@DangerNoodle](https://forum.makecode.com/u/DangerNoodle)\
**Post date:** [October 15, 2024, 6:57pm UTC](https://forum.makecode.com/t/how-to-load-next-room-when-reach-end-of-wall/31167/5 "2024-10-15T18:57:58Z")

</div>

Like a game? Yeah I’ll get working.

---

<div class="post-metadata">

**Author:** ![DangerNoodle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dangernoodle/32/14797_2.png) [@DangerNoodle](https://forum.makecode.com/u/DangerNoodle)\
**Post date:** [October 15, 2024, 10:42pm UTC](https://forum.makecode.com/t/how-to-load-next-room-when-reach-end-of-wall/31167/6 "2024-10-15T22:42:55Z")

</div>

> **[level change example](https://arcade.makecode.com/69022-91474-22262-81268)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

okay, got it done!

---

<div class="post-metadata">

**Author:** ![DangerNoodle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dangernoodle/32/14797_2.png) [@DangerNoodle](https://forum.makecode.com/u/DangerNoodle)\
**Post date:** [October 17, 2024, 4:39pm UTC](https://forum.makecode.com/t/how-to-load-next-room-when-reach-end-of-wall/31167/7 "2024-10-17T16:39:30Z")

</div>

@gravethecoder did you get it done?

---

<div class="post-metadata">

**Author:** ![gravethecoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gravethecoder/32/17144_2.png) [@gravethecoder](https://forum.makecode.com/u/gravethecoder)\
**Post date:** [October 17, 2024, 6:27pm UTC](https://forum.makecode.com/t/how-to-load-next-room-when-reach-end-of-wall/31167/8 "2024-10-17T18:27:36Z")

</div>

not yet, i had forgot to mention that i have a door sprite and not using the tile, If door touch you go to next scene

---

<div class="post-metadata">

**Author:** ![DangerNoodle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dangernoodle/32/14797_2.png) [@DangerNoodle](https://forum.makecode.com/u/DangerNoodle)\
**Post date:** [October 22, 2024, 8:10pm UTC](https://forum.makecode.com/t/how-to-load-next-room-when-reach-end-of-wall/31167/9 "2024-10-22T20:10:34Z")

</div>

then use a “When sprite of kind \_\_\_ overlaps sprite of kind \_\_\_” and THEN do the level function
