# What is the best way to grant a player an abitrary item?

**URL:** <https://forums.unrealengine.com/t/what-is-the-best-way-to-grant-a-player-an-abitrary-item/830701>\
**Category:** Programming & Scripting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, item, question, fortnite\
**Created:** [March 28, 2023, 7:19pm UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-grant-a-player-an-abitrary-item/830701 "2023-03-28T19:19:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![the1928tommygun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@the1928tommygun](https://forums.unrealengine.com/u/the1928tommygun)\
**Post date:** [March 28, 2023, 7:19pm UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-grant-a-player-an-abitrary-item/830701/1 "2023-03-28T19:19:06Z")

</div>

I want to be able to reference a list of all of the items available in fortnite and give one or more of them to a player.  
The best way I’ve found so far is to create an item\_granter with a manually populated list of all the items, and then hard-coding the identities of those items based on their index in the array. This is a super hacky, super tedious way to get a reference to every item in FN but I think it will work. Is there a better way? Is there a better way to just drag and drop all of the item definitions into an array than manually selecting each one?
