# Tilemaps connecting by doors

**URL:** <https://forum.makecode.com/t/tilemaps-connecting-by-doors/4115>\
**Category:** Help\
**Created:** [October 28, 2020, 2:10am UTC](https://forum.makecode.com/t/tilemaps-connecting-by-doors/4115 "2020-10-28T02:10:53Z")\
**Posts on this page:** 1\
**Showing post:** 13

<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:** [October 29, 2020, 5:16pm UTC](https://forum.makecode.com/t/tilemaps-connecting-by-doors/4115/13 "2020-10-29T17:16:27Z")

</div>

Here’s an example:

> **[door-worked-example](https://arcade.makecode.com/78306-73899-03440-54795)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I added comments to explain the code. Let me know if you have any questions!

---

_[View the full topic](https://forum.makecode.com/t/tilemaps-connecting-by-doors/4115)._
