# Is there an extension for turning a sprite entirely one color?

**URL:** <https://forum.makecode.com/t/is-there-an-extension-for-turning-a-sprite-entirely-one-color/38653>\
**Category:** Help\
**Tags:** extension\
**Created:** [August 13, 2025, 9:20pm UTC](https://forum.makecode.com/t/is-there-an-extension-for-turning-a-sprite-entirely-one-color/38653 "2025-08-13T21:20:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brainstorm\_Studios](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brainstorm_studios/32/20476_2.png) [@Brainstorm\_Studios](https://forum.makecode.com/u/Brainstorm_Studios)\
**Post date:** [August 13, 2025, 9:20pm UTC](https://forum.makecode.com/t/is-there-an-extension-for-turning-a-sprite-entirely-one-color/38653/1 "2025-08-13T21:20:21Z")

</div>

for instance, having them flash white to choreograph an attack, or red to signify damage taken. i don’t wanna have to use an animation block for that.

---

<div class="post-metadata">

**Author:** ![LildubK9](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@LildubK9](https://forum.makecode.com/u/LildubK9)\
**Post date:** [August 13, 2025, 10:20pm UTC](https://forum.makecode.com/t/is-there-an-extension-for-turning-a-sprite-entirely-one-color/38653/2 "2025-08-13T22:20:18Z")

</div>

You could try to use the “change colour in picture from () to ()” block in images, and just repeat that for every colour in the picture. Hope this helps, if not sorry I have no idea other than an animation block.

---

<div class="post-metadata">

**Author:** ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)\
**Post date:** [August 13, 2025, 10:22pm UTC](https://forum.makecode.com/t/is-there-an-extension-for-turning-a-sprite-entirely-one-color/38653/3 "2025-08-13T22:22:39Z")

</div>

I think you might just need to animate it. Or you could do a  
'for x  
for y  
if pixel colour at x, y in image != empty:  
set pixel in image at x, y to (colour)  
my sprite set image (image)

---

<div class="post-metadata">

**Author:** ![Jedi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jedi/32/14307_2.png) [@Jedi](https://forum.makecode.com/u/Jedi)\
**Post date:** [August 13, 2025, 11:57pm UTC](https://forum.makecode.com/t/is-there-an-extension-for-turning-a-sprite-entirely-one-color/38653/4 "2025-08-13T23:57:04Z")

</div>

> **[change color in image](https://arcade.makecode.com/02940-49813-17719-81290)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

here this should help!
