# How do I set up a basic inventory using bools?

**URL:** <https://forums.unrealengine.com/t/how-do-i-set-up-a-basic-inventory-using-bools/2695103>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [January 26, 2026, 8:51pm UTC](https://forums.unrealengine.com/t/how-do-i-set-up-a-basic-inventory-using-bools/2695103 "2026-01-26T20:51:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wulf\_Man](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wulf\_Man](https://forums.unrealengine.com/u/Wulf_Man)\
**Post date:** [January 26, 2026, 8:51pm UTC](https://forums.unrealengine.com/t/how-do-i-set-up-a-basic-inventory-using-bools/2695103/1 "2026-01-26T20:51:58Z")

</div>

I am trying to set up a simple inventory where upon picking up an item, it is stored until it’s relevant again. I was told I could use a bool to say “HasItem” to activate it, but I’m very lost honestly. I’m trying to use a line trace to pick up the item and destroy it while putting it into an inventory of sorts. Have I done something wrong?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/5/5/45519b65a63f7b34d2143427ffd1934f1bc82a79.png)

---

<div class="post-metadata">

**Author:** ![BRGJuanCruzMK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgjuancruzmk/32/1036548_2.png) [@BRGJuanCruzMK](https://forums.unrealengine.com/u/BRGJuanCruzMK)\
**Post date:** [January 27, 2026, 11:05pm UTC](https://forums.unrealengine.com/t/how-do-i-set-up-a-basic-inventory-using-bools/2695103/2 "2026-01-27T23:05:52Z")

</div>

Hey @Wulf_Man how are you?

I’m not sure if I understand you clearly as I’m missing context, but what you are doing in that screenshot is destroying the BP\_TankControlsCharacter (which I suppose is your Player character) not storing something in an inventory.

For a simple inventory system I recomend you [this tutorial](https://youtu.be/tu10-q_Vc6A?si=-WQd9zQfadnDJByT) , which explains in the first few minutes how to pick up items with line trace and destroy it after it.

In addition, if you want to create a more complex and versatile inventory system, [this is a great playlist](https://www.youtube.com/watch?v=vHT4MhmwacE&list=PL4G2bSPE_8umjCYXbq0v5IoV-Wi_WAxC3) with a lot of detail! And this is a video with [a simpler way to do a quick inventory](https://www.youtube.com/watch?v=b2atcZWYi3E).

For what you need right now, I’d start with the first video I shared and then think about the other more extense tutorials!

Hope this helps you!
