# Inventory help!

**URL:** https://forum.makecode.com/t/inventory-help/39679
**Category:** Help
**Created:** [October 8, 2025, 4:12am UTC](https://forum.makecode.com/t/inventory-help/39679 "2025-10-08T04:12:29Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![DEBOI](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/deboi/32/25485_2.png) [@DEBOI](https://forum.makecode.com/u/DEBOI)
#### Post date: [October 8, 2025, 4:12am UTC](https://forum.makecode.com/t/inventory-help/39679/1 "2025-10-08T04:12:29Z")

</div>

hey everyone!  
I am making a new game! (The title is a secret!)  
In my game I am using the [inventory extension](https://github.com/UnsignedArduino/Inventory).  
I am using some of @platformermaster‘s code in his [Microsoft Survival](https://arcade.makecode.com/S74468-41575-71063-24837) game, where you can mine blocks and they go to your inventory.  
But when i make the inventory-list variable with an empty array and set my inventory items to inventory-list, it shows an error.

> **[help please!](https://arcade.makecode.com/58456-33912-96814-24407)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

(Game is broken, broken code inside)

---

<div class="post-metadata">

### Author: ![DEBOI](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/deboi/32/25485_2.png) [@DEBOI](https://forum.makecode.com/u/DEBOI)
#### Post date: [October 8, 2025, 5:53pm UTC](https://forum.makecode.com/t/inventory-help/39679/2 "2025-10-08T17:53:18Z")

</div>

Do you guys have any idea on how to fix this?

---

<div class="post-metadata">

### Author: ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)
#### Post date: [October 9, 2025, 4:45pm UTC](https://forum.makecode.com/t/inventory-help/39679/3 "2025-10-09T16:45:32Z")

</div>

> **[no help required!](https://arcade.makecode.com/79273-07572-83569-71385)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

fixed the inventory list variable doesn’t need to exist

---

<div class="post-metadata">

### Author: ![DEBOI](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/deboi/32/25485_2.png) [@DEBOI](https://forum.makecode.com/u/DEBOI)
#### Post date: [October 9, 2025, 7:55pm UTC](https://forum.makecode.com/t/inventory-help/39679/4 "2025-10-09T19:55:05Z")

</div>

Omg thank yooou

---

<div class="post-metadata">

### Author: ![KING](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/king/32/32102_2.png) [@KING](https://forum.makecode.com/u/KING)
#### Post date: [May 4, 2026, 7:13pm UTC](https://forum.makecode.com/t/inventory-help/39679/5 "2026-05-04T19:13:50Z")

</div>

on a tilemap how do you get it to stay on the cereen
