# Spritable Tilemap help

**URL:** <https://forum.makecode.com/t/spritable-tilemap-help/7989>\
**Category:** Arcade\
**Created:** [May 10, 2021, 4:04pm UTC](https://forum.makecode.com/t/spritable-tilemap-help/7989 "2021-05-10T16:04:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eretick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eretick/32/3954_2.png) [@Eretick](https://forum.makecode.com/u/Eretick)\
**Post date:** [May 10, 2021, 4:04pm UTC](https://forum.makecode.com/t/spritable-tilemap-help/7989/1 "2021-05-10T16:04:25Z")

</div>

Hello again. I have a question.  
Firstly about my goal. I need to repaint some parts of object. For example, draw over sprite images and counting how much percents I repainted already. I used to use some kind of invisible triggers. But here, In MakeCode Arcade, invisible sprite not interactable of course. So i decided put triggers with same color. So I need to put white square over white parts of image (not big image).  
… And I didn`t know how to make game understand which parts of image are white (which coordinates needs to be used for spawn an white triggers)

So i decided to use tilemap, like in [Warehouse (Updated)](https://forum.makecode.com/t/warehouse-updated/658)  
And to make tiles smaller, I tried to use `color-coded-tilemap` and set 8x8 mode.  
BUT. I need to detect which one tile I overlapping and change onli this tile to tile with another color.  
Here I got 2 problems:

1. I can change color only if tiles was created with wall (I DONT NEED WALLS ON THEM) cause In Scene category only wall-detecting block.
2. In one time was changed all white-colored tiles instead of one tile hero`s sprite overlapped.

How to solve it?  
Maybe there are easiest way?  
NOTE: We talks about block-mode.

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [May 10, 2021, 4:13pm UTC](https://forum.makecode.com/t/spritable-tilemap-help/7989/2 "2021-05-10T16:13:58Z")

</div>

Use small tilemaps instead! @UnsignedArduino link!

---

<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:** [May 10, 2021, 5:34pm UTC](https://forum.makecode.com/t/spritable-tilemap-help/7989/3 "2021-05-10T17:34:37Z")

</div>

It’s in my list 🙂

> **[riknoll/small-tilemaps](https://github.com/riknoll/small-tilemaps)**
>
> Adds small tilemaps. Contribute to riknoll/small-tilemaps development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Eretick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eretick/32/3954_2.png) [@Eretick](https://forum.makecode.com/u/Eretick)\
**Post date:** [May 10, 2021, 7:09pm UTC](https://forum.makecode.com/t/spritable-tilemap-help/7989/4 "2021-05-10T19:09:11Z")

</div>

Omg, I already replaced all tilemaps with sprite-tilemaps.  
Remaking all this again… 😃  
But I had also a big fps drop, so I guess tilemaps will fix it.  
at least I hope.  
Thanks you, gonna to fix it again.
