# Why I Get All The Actors In My Map Into My Inventory?

**URL:** <https://forums.unrealengine.com/t/why-i-get-all-the-actors-in-my-map-into-my-inventory/432837>\
**Category:** Editor Scripting\
**Tags:** inventory, child-actors, add, unreal-engine, Array, Blueprint, question\
**Created:** [August 31, 2018, 1:46am UTC](https://forums.unrealengine.com/t/why-i-get-all-the-actors-in-my-map-into-my-inventory/432837 "2018-08-31T01:46:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [August 31, 2018, 1:46am UTC](https://forums.unrealengine.com/t/why-i-get-all-the-actors-in-my-map-into-my-inventory/432837/1 "2018-08-31T01:46:08Z")

</div>

Hi!  
As I Mention in the title. I tried to create an object actor and put it in the level for inventory system. I works great, but then when I duplicate the actor/pickup object and try to pick up the second one (The new actor after the first one), I pickup both of them. I works when I only pickup the first one. I knew it has something to do with the array addition thing. But I don’t know how to fix it. It seems like the character pickup up the same value. But, the inventory just work fine. I mean the 2 slots are being use when I take only the duplicate actor on the map.  
I follow the step by step of this epic video tutorials, but I still don’t know how they do it.

https://www.youtube.com/embed/tZdmcb7XcI8?feature=oembed&wmode=opaque&list=PLZlv_N0_O1gZalvQWYs8sc7RP_-8eSr3i

 ![252117-untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/6/0/06015a710a9082415f8c04508a3054d0c61d527f.jpeg)

---

<div class="post-metadata">

**Author:** ![ThompsonN13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThompsonN13](https://forums.unrealengine.com/u/ThompsonN13)\
**Post date:** [August 31, 2018, 2:04am UTC](https://forums.unrealengine.com/t/why-i-get-all-the-actors-in-my-map-into-my-inventory/432837/2 "2018-08-31T02:04:51Z")

</div>

a bit of advice, thats a 40 min video and is part of a series, no one willing to help is going to watch all of that. instead just show your bp and in its entirety so we can see what you have and we can work from there. what your currently showing is just a small snippet of your script which doesnt tell us much

---

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [August 31, 2018, 2:16am UTC](https://forums.unrealengine.com/t/why-i-get-all-the-actors-in-my-map-into-my-inventory/432837/3 "2018-08-31T02:16:31Z")

</div>

Here’s my screenshot for “TP\_GameWidget”

 ![252119-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/a/d3a23009f2db89645c1d5f352459b2cef586dcf2.png)

 ![252133-5.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/5/7/a57720e71b83888c4d2af0dddff397e2ad2f7735.png)

---

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [August 31, 2018, 2:17am UTC](https://forums.unrealengine.com/t/why-i-get-all-the-actors-in-my-map-into-my-inventory/432837/4 "2018-08-31T02:17:50Z")

</div>

![252136-4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/2/db24f69170d7bde8ad571eb5e848ad1b2bd1fadb.png)

---

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [August 31, 2018, 2:20am UTC](https://forums.unrealengine.com/t/why-i-get-all-the-actors-in-my-map-into-my-inventory/432837/5 "2018-08-31T02:20:14Z")

</div>

Here are my BP of the actor

 ![252140-9.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/6/b564b93761e668a8340c8c80fbfc5ea6045a2e9f.png)
