# Status bar help

**URL:** <https://forum.makecode.com/t/status-bar-help/2720>\
**Category:** Help\
**Created:** [July 10, 2020, 12:39am UTC](https://forum.makecode.com/t/status-bar-help/2720 "2020-07-10T00:39:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)\
**Post date:** [July 10, 2020, 12:39am UTC](https://forum.makecode.com/t/status-bar-help/2720/1 "2020-07-10T00:39:41Z")

</div>

You can look at my code here: [https://makecode.com/\_0jTf12JFF3f2](https://makecode.com/_0jTf12JFF3f2)

 ![Screen Shot 2020-07-09 at 6.31.44 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/bbf2593833e68b33730daf009ec89de82a919793.png)  
please comment below to help me because I don’t understand

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [July 10, 2020, 12:56am UTC](https://forum.makecode.com/t/status-bar-help/2720/2 "2020-07-10T00:56:38Z")

</div>

Hey,

The statusbar is a special kind of sprite that contains a value, so the error is trying to say that you can’t compare a sprite with a number. The little triangle has a message if you click on it:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/f/f61b416bb8cf0abb9204f87daf3d9a10bb9b2d5c.png)

To get the number out, you need to use the `statusbar value` block:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/5/5443304a09ad82650b42b2992ee150f16e13f840.png)

Here’s your code with the changed as an example: [https://makecode.com/\_cm208D4zb5A0](https://makecode.com/_cm208D4zb5A0)

---

<div class="post-metadata">

**Author:** ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)\
**Post date:** [July 10, 2020, 1:04am UTC](https://forum.makecode.com/t/status-bar-help/2720/3 "2020-07-10T01:04:24Z")

</div>

Thanks!
