# How can I set up an inventory system with Data Asset?

**URL:** <https://forums.unrealengine.com/t/how-can-i-set-up-an-inventory-system-with-data-asset/1711238>\
**Category:** Programming & Scripting\
**Tags:** data-asset, inventory, User-Interface, data-table, inventory-system, unreal-engine, UI, Widget, Blueprint, question\
**Created:** [February 25, 2024, 6:46am UTC](https://forums.unrealengine.com/t/how-can-i-set-up-an-inventory-system-with-data-asset/1711238 "2024-02-25T06:46:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aeverythingwhere](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aeverythingwhere](https://forums.unrealengine.com/u/Aeverythingwhere)\
**Post date:** [February 25, 2024, 6:46am UTC](https://forums.unrealengine.com/t/how-can-i-set-up-an-inventory-system-with-data-asset/1711238/1 "2024-02-25T06:46:51Z")

</div>

I don’t know much about this. I know that Data Table is normally used, but since I want it to be more optimized, I want to get the information in the inventory with data assets. Does anyone have any ideas on how I can get started or can guide me?

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [February 25, 2024, 8:07am UTC](https://forums.unrealengine.com/t/how-can-i-set-up-an-inventory-system-with-data-asset/1711238/2 "2024-02-25T08:07:15Z")

</div>

you can just create an array of data assets as your inventory. or put it in a struct if there are values you need to save like item durability etc

---

<div class="post-metadata">

**Author:** ![Aeverythingwhere](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aeverythingwhere](https://forums.unrealengine.com/u/Aeverythingwhere)\
**Post date:** [February 25, 2024, 8:38am UTC](https://forums.unrealengine.com/t/how-can-i-set-up-an-inventory-system-with-data-asset/1711238/3 "2024-02-25T08:38:04Z")

</div>

I think I understand. So, I can just create a structure and extract information from the structure it creates. Is it true ?

So is this exactly what you’re talking about?

I want to do this with data asset, not data table. I hope it happens.

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [February 25, 2024, 10:36am UTC](https://forums.unrealengine.com/t/how-can-i-set-up-an-inventory-system-with-data-asset/1711238/4 "2024-02-25T10:36:41Z")

</div>

data assets should use fixed values, ie item name, item icon etc  
structures you can instantiate values ie each item has a number of uses left

so depending on what you need, use either or both 🙂
