# Are there any ways to make a MultiColoured Status Bar?

**URL:** <https://forum.makecode.com/t/are-there-any-ways-to-make-a-multicoloured-status-bar/29365>\
**Category:** Help\
**Created:** [June 20, 2024, 2:48pm UTC](https://forum.makecode.com/t/are-there-any-ways-to-make-a-multicoloured-status-bar/29365 "2024-06-20T14:48:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Galcake](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/galcake/32/16060_2.png) [@Galcake](https://forum.makecode.com/u/Galcake)\
**Post date:** [June 20, 2024, 2:48pm UTC](https://forum.makecode.com/t/are-there-any-ways-to-make-a-multicoloured-status-bar/29365/1 "2024-06-20T14:48:08Z")

</div>

Let’s say that I’m making a Bee Bossfight, and I want to make a Status Bar alternates between the colours Brown and Yellow, with 20 parts of length of the healthbar being yellow and the next 20 segments being brown, all until it finishes. Is that possible and how would that be done?

---

<div class="post-metadata">

**Author:** ![anon30657772](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@anon30657772](https://forum.makecode.com/u/anon30657772)\
**Post date:** [June 21, 2024, 2:59pm UTC](https://forum.makecode.com/t/are-there-any-ways-to-make-a-multicoloured-status-bar/29365/2 "2024-06-21T14:59:16Z")

</div>

> **If you meant for the status bar to be yellow when health is more than 50% then brown when to its lower than 50%**
>
> ![Updating color depending on value](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/5/f/5fb380ac3f2eced225eba523f42b60be75df0746.png)

> **If you meant for the status bar to be both yellow and brown at the same in a certain pattern**
>
> - I don’t think the extension offers that, so you’ll either have to _edit the extension code_ or _make your own status bar_. I have **[this demo game](https://arcade.makecode.com/S59714-82407-21018-40043)** showcasing making your own status bar.
> 
> 1. Initial creation of status bar  
> 
> 2. Rendering bar + Swerve effect

I hope this helps answer your question! 😀

---

<div class="post-metadata">

**Author:** ![Galcake](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/galcake/32/16060_2.png) [@Galcake](https://forum.makecode.com/u/Galcake)\
**Post date:** [June 22, 2024, 8:28pm UTC](https://forum.makecode.com/t/are-there-any-ways-to-make-a-multicoloured-status-bar/29365/3 "2024-06-22T20:28:00Z")

</div>

I’ll definitely keep this in mind for future bosses that I make. It might be a bit too late now because I don’t feel like reworking the entire healthbar, but this is still a very good guide!

---

<div class="post-metadata">

**Author:** ![anon30657772](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@anon30657772](https://forum.makecode.com/u/anon30657772)\
**Post date:** [June 23, 2024, 2:41am UTC](https://forum.makecode.com/t/are-there-any-ways-to-make-a-multicoloured-status-bar/29365/4 "2024-06-23T02:41:00Z")

</div>

Yeah it can be _daunting_ doing it from the ground up! The customization is worth it though 😁  
Glad I was able to help 🙏
