# Broken status bar

**URL:** <https://forum.makecode.com/t/broken-status-bar/6362>\
**Category:** Help\
**Created:** [February 25, 2021, 4:49pm UTC](https://forum.makecode.com/t/broken-status-bar/6362 "2021-02-25T16:49:14Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [February 25, 2021, 4:49pm UTC](https://forum.makecode.com/t/broken-status-bar/6362/1 "2021-02-25T16:49:14Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/5/5d9e55f8ca2f9cf5cd76b215beb988db0cbdf2cb.png)  
`Property 'value' does not exist on type 'Sprite'`  
This error just popped up this morning. Last night, it was working fine and I did not make any changes since. Anything obvious? I can also share my program, but it’s pretty big:

> **[Crypto Clicker](https://arcade.makecode.com/70654-90891-73990-00622)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Reverting all changes in the editor still makes it come up.

---

<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:** [February 25, 2021, 4:53pm UTC](https://forum.makecode.com/t/broken-status-bar/6362/2 "2021-02-25T16:53:53Z")

</div>

Ah never mind fixed it depending on the order of your blocks it will change the type of your things and it was being defined as `Sprite` not as `StatusBarSprite` because of these 2 lines:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/5/5415bf3f1301e018c34328ea1c9fef50226ea732.png)  
Before it was the other way around.

---

<div class="post-metadata">

**Author:** ![darzu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/darzu/32/1882_2.png) [@darzu](https://forum.makecode.com/u/darzu)\
**Post date:** [February 25, 2021, 4:59pm UTC](https://forum.makecode.com/t/broken-status-bar/6362/3 "2021-02-25T16:59:45Z")

</div>

I filed an issue for this: [https://github.com/microsoft/pxt-arcade/issues/3184](https://github.com/microsoft/pxt-arcade/issues/3184)

Technically your first code should have been fine. But yes, you found the work around we use to avoid this 🙂
