# About the Fading Extension

**URL:** <https://forum.makecode.com/t/about-the-fading-extension/32968>\
**Category:** Help\
**Tags:** extension\
**Created:** [January 5, 2025, 8:28pm UTC](https://forum.makecode.com/t/about-the-fading-extension/32968 "2025-01-05T20:28:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justasmallcoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/justasmallcoder/32/24428_2.png) [@Justasmallcoder](https://forum.makecode.com/u/Justasmallcoder)\
**Post date:** [January 5, 2025, 8:28pm UTC](https://forum.makecode.com/t/about-the-fading-extension/32968/1 "2025-01-05T20:28:06Z")

</div>

Hello, wonderful people of Microsoft MakeCode Arcade. I need a little help with some visual effects, mainly about Color Fading, and while I know that Color Fading is already an extension, it has a minor flaw, and that’s that it effects the entire screen. Could someone make an extension that does mostly the same thing, but can apply the effects to specific sprites instead of the entire screen?

---

<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:** [January 5, 2025, 10:56pm UTC](https://forum.makecode.com/t/about-the-fading-extension/32968/2 "2025-01-05T22:56:43Z")

</div>

Not possible. The entire screen uses the global 16-color palette. If you change one color, it changes it for everything.

You could have one sprite uses say 4 of the 16 colors, and another sprite uses another 4 of the 16 colors, and then use the Color Fading extension to change the global colors. Since one sprite is the only sprite using those 4 colors, then it will _appear_ as if it has it’s own palette.

---

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [January 6, 2025, 4:21am UTC](https://forum.makecode.com/t/about-the-fading-extension/32968/3 "2025-01-06T04:21:12Z")

</div>

welcome! i lil trick i’ve found is that if you have a small colour palette of say 6 colours, you could duplicate the colours and use them on a sprite or an image.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/8/f/8fae387cc2bfd158e91d4b74612a83085511f844.png)  
then you only fade the sprite by affecting the duplicated colours used in the sprite.

I think this would be most useful for a night and day transition for a background asset as a sprite might have too many colours to work with this.

---

<div class="post-metadata">

**Author:** ![Justasmallcoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/justasmallcoder/32/24428_2.png) [@Justasmallcoder](https://forum.makecode.com/u/Justasmallcoder)\
**Post date:** [January 8, 2025, 6:08pm UTC](https://forum.makecode.com/t/about-the-fading-extension/32968/4 "2025-01-08T18:08:15Z")

</div>

To be honest, I don’t even remember why I asked this. I was making some project but I forgot with one, thank anyways tho!
