# Tilemap Util

**URL:** <https://forum.makecode.com/t/tilemap-util/38892>\
**Category:** Help\
**Tags:** game, extension\
**Created:** [August 24, 2025, 11:19pm UTC](https://forum.makecode.com/t/tilemap-util/38892 "2025-08-24T23:19:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Holderify](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@Holderify](https://forum.makecode.com/u/Holderify)\
**Post date:** [August 24, 2025, 11:19pm UTC](https://forum.makecode.com/t/tilemap-util/38892/1 "2025-08-24T23:19:47Z")

</div>

Hello! I’m having trouble figuring out how to use the Tilemap Util extension. I am trying to get another Tilemap to load when I right click on the black boxes but cannot figure out how to get it to work. If someone would please explain it to me I would be very grateful. Thank you!

---

<div class="post-metadata">

**Author:** ![a012](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/a012/32/24099_2.png) [@a012](https://forum.makecode.com/u/a012)\
**Post date:** [August 25, 2025, 3:12am UTC](https://forum.makecode.com/t/tilemap-util/38892/2 "2025-08-25T03:12:37Z")

</div>

To get a tilemap work, first go variables and drag a set variable to into the On Start block and then name the variable like tilemap1 or something, then create a other variable called tilemap2 or you call it anything you want for tilemap2, then just go scene and instead of using set current tilemap under you see a tilemap picker drag that block to replace 0 to the tilemap picker block, it is suppose really be a set tilemap block so you can drag it on your variable or any type that is a tilemap data, then use those 2 variables and go to tile until drag attach to blocks to connect the tilemap1 and tilemap2 connected each other, here is an example right here,

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/d/a/da41ae0b02fa09c20f8a673d79f397eaf2974d00.png)

---

<div class="post-metadata">

**Author:** ![a012](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/a012/32/24099_2.png) [@a012](https://forum.makecode.com/u/a012)\
**Post date:** [August 27, 2025, 4:59am UTC](https://forum.makecode.com/t/tilemap-util/38892/3 "2025-08-27T04:59:59Z")

</div>

To use **TileUntil** with multiple tilemaps:

1. **Create variables** for each tilemap, e.g., `tilemap1` and `tilemap2`.

2. Set these variables in the **On Start** block to reference your tilemaps.

3. Use the **TileUntil “connect” block** to connect the tilemaps—this will let one tilemap load after another dynamically.

4. TileUntil handles **loading and unloading** , so when the player reaches the connected part of the first tilemap, the second tilemap can load automatically.

A quick note: TileUntil is about **dynamic tilemap management** , whereas TileUtil is just the general **utilities for working with tilemaps** (like connecting them or setting tiles).
