# Make sprites stay in other room

**URL:** <https://forum.makecode.com/t/make-sprites-stay-in-other-room/4778>\
**Category:** Arcade\
**Created:** [December 3, 2020, 5:33pm UTC](https://forum.makecode.com/t/make-sprites-stay-in-other-room/4778 "2020-12-03T17:33:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ewfkhfweuhf](https://avatars.discourse-cdn.com/v4/letter/e/85e7bf/32.png) [@ewfkhfweuhf](https://forum.makecode.com/u/ewfkhfweuhf)\
**Post date:** [December 3, 2020, 5:33pm UTC](https://forum.makecode.com/t/make-sprites-stay-in-other-room/4778/1 "2020-12-03T17:33:33Z")

</div>

so i am trying to make an rpg, but when i need to teleport into another room the previous sprites stay. do you know any solutions to not having previous sprites be on the next?

---

<div class="post-metadata">

**Author:** ![UnderwaterAstronaut](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/underwaterastronaut/32/2228_2.png) [@UnderwaterAstronaut](https://forum.makecode.com/u/UnderwaterAstronaut)\
**Post date:** [December 3, 2020, 5:40pm UTC](https://forum.makecode.com/t/make-sprites-stay-in-other-room/4778/2 "2020-12-03T17:40:23Z")

</div>

Welcome to the forum!  
You can add the tilemap extension and use the block `delete all sprites of kind` i think!

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [December 3, 2020, 5:40pm UTC](https://forum.makecode.com/t/make-sprites-stay-in-other-room/4778/3 "2020-12-03T17:40:24Z")

</div>

Well, you would most likely destroy the sprites after you switch tilemaps.

---

<div class="post-metadata">

**Author:** ![Kat](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kat/32/2596_2.png) [@Kat](https://forum.makecode.com/u/Kat)\
**Post date:** [December 3, 2020, 5:43pm UTC](https://forum.makecode.com/t/make-sprites-stay-in-other-room/4778/4 "2020-12-03T17:43:37Z")

</div>

![My Drawing-16.sketchpad](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/c/c00de20bacb0bbe762055a26c01c436911e5e356.jpeg)  
 ![Screenshot 2020-12-03 at 12.38.11 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/6/60d3de1dc44127294c4127d7970ee4ee5639cc60.png)  
You can also make them invisible if you don’t want to destroy them.

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [December 3, 2020, 5:54pm UTC](https://forum.makecode.com/t/make-sprites-stay-in-other-room/4778/5 "2020-12-03T17:54:51Z")

</div>

You also probably would want to turn on ghost so when you overlap the invisible sprites, you don’t trigger a dialog or something.

Also, new profile pic? Looks niceeee!

---

<div class="post-metadata">

**Author:** ![Kat](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kat/32/2596_2.png) [@Kat](https://forum.makecode.com/u/Kat)\
**Post date:** [December 3, 2020, 6:04pm UTC](https://forum.makecode.com/t/make-sprites-stay-in-other-room/4778/6 "2020-12-03T18:04:47Z")

</div>

Thank you! I figured since its cold now, I should put a hat on the cat!
