# Variable Error

**URL:** https://forum.makecode.com/t/variable-error/43993
**Category:** Help
**Created:** [May 14, 2026, 5:48pm UTC](https://forum.makecode.com/t/variable-error/43993 "2026-05-14T17:48:22Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jbrit4](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jbrit4](https://forum.makecode.com/u/jbrit4)
#### Post date: [May 14, 2026, 5:48pm UTC](https://forum.makecode.com/t/variable-error/43993/1 "2026-05-14T17:48:22Z")

</div>

My code says that it has 3 problems. All saying that my status bar sprite is a number value but it’s literally name pad status bar so how can it be a error.

---

<div class="post-metadata">

### Author: ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)
#### Post date: [May 14, 2026, 11:31pm UTC](https://forum.makecode.com/t/variable-error/43993/2 "2026-05-14T23:31:17Z")

</div>

welcome @jbrit4! Can you please send the link to your project, the one in the “share” menu?

---

<div class="post-metadata">

### Author: ![jbrit4](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jbrit4](https://forum.makecode.com/u/jbrit4)
#### Post date: [May 15, 2026, 4:41pm UTC](https://forum.makecode.com/t/variable-error/43993/3 "2026-05-15T16:41:34Z")

</div>

[https://arcade.makecode.com/S16814-48775-42301-45946](https://arcade.makecode.com/S16814-48775-42301-45946)

---

<div class="post-metadata">

### Author: ![jbrit4](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jbrit4](https://forum.makecode.com/u/jbrit4)
#### Post date: [May 15, 2026, 4:41pm UTC](https://forum.makecode.com/t/variable-error/43993/4 "2026-05-15T16:41:36Z")

</div>

I’m having issues coding the mini menu. When I overlap the chest it comes up with the mini menu and when I’ve decided what projectile I want, I want to be able to choose the projectile by clicking A when I’m hovering over it.

---

<div class="post-metadata">

### Author: ![jbrit4](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jbrit4](https://forum.makecode.com/u/jbrit4)
#### Post date: [May 15, 2026, 4:41pm UTC](https://forum.makecode.com/t/variable-error/43993/5 "2026-05-15T16:41:37Z")

</div>

Thank you for helping me VoxelMaster64

---

<div class="post-metadata">

### Author: ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)
#### Post date: [May 15, 2026, 5:41pm UTC](https://forum.makecode.com/t/variable-error/43993/6 "2026-05-15T17:41:21Z")

</div>

> **[Assessment](https://arcade.makecode.com/S56860-83747-19993-41809)**
>
> can shoot :)

is that what you want?
