# Is there any way to remove the item that player currently has?

**URL:** <https://forums.unrealengine.com/t/is-there-any-way-to-remove-the-item-that-player-currently-has/1349011>\
**Category:** Verse\
**Tags:** reverse, fortnite-creative, unreal-editor-for-fortnite, item, fortnite\
**Created:** [October 28, 2023, 5:19am UTC](https://forums.unrealengine.com/t/is-there-any-way-to-remove-the-item-that-player-currently-has/1349011 "2023-10-28T05:19:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Messiah4213](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/messiah4213/32/764721_2.png) [@Messiah4213](https://forums.unrealengine.com/u/Messiah4213)\
**Post date:** [October 28, 2023, 5:19am UTC](https://forums.unrealengine.com/t/is-there-any-way-to-remove-the-item-that-player-currently-has/1349011/1 "2023-10-28T05:19:48Z")

</div>

Hello!  
I want to remove the weapon that player currently has.  
If I use Item-remover-device , There is no option to remove the 1weapon only.

Thank you!

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [October 28, 2023, 11:35am UTC](https://forums.unrealengine.com/t/is-there-any-way-to-remove-the-item-that-player-currently-has/1349011/2 "2023-10-28T11:35:05Z")

</div>

How did the weapon get granted to the player ? You have to track that and find the relevant item remover for the current weapon. (if it’s trackable)

---

<div class="post-metadata">

**Author:** ![Messiah4213](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/messiah4213/32/764721_2.png) [@Messiah4213](https://forums.unrealengine.com/u/Messiah4213)\
**Post date:** [October 28, 2023, 12:12pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-remove-the-item-that-player-currently-has/1349011/3 "2023-10-28T12:12:06Z")

</div>

Thank you for you reply!  
So I need to make the array of all the weapon and track and remove using the number?  
There is no way to detect or remove the weapon player holding in UEFN currently?

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [October 28, 2023, 12:23pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-remove-the-item-that-player-currently-has/1349011/4 "2023-10-28T12:23:43Z")

</div>

You could also use the `conditional_button.IsHoldingItem[]` method

```auto
# Returns if the `Agent` is currently holding the item stored at `KeyItemIndex`.
IsHoldingItem<public>(Agent:agent, KeyItemIndex:int)<transacts><decides>:void

```

Once you find the index, you could call `conditional_button.SetItemCountRequired(Index, 1)` and then `conditional_button.Activate(Agent)` the button needs to consume items. (finally you reset the button by calling `conditional_button.SetItemCountRequired(Index, 0)`)

Problem with this is that `conditional_buttons` can only contain 3 items, so you’d need to do this many times

I also never done this so I’m not sure if it would work 🤷

---

<div class="post-metadata">

**Author:** ![Messiah4213](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/messiah4213/32/764721_2.png) [@Messiah4213](https://forums.unrealengine.com/u/Messiah4213)\
**Post date:** [October 28, 2023, 12:43pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-remove-the-item-that-player-currently-has/1349011/5 "2023-10-28T12:43:23Z")

</div>

Thank you but I want to do this to almost all the weapon available so its gonna be crazy…haha  
I will find the way.  
Thank you again LAMA!

---

<div class="post-metadata">

**Author:** ![mysteryegg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mysteryegg](https://forums.unrealengine.com/u/mysteryegg)\
**Post date:** [July 22, 2024, 9:55pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-remove-the-item-that-player-currently-has/1349011/7 "2024-07-22T21:55:23Z")

</div>

Using [Item Remover Devices](https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-item-remover-devices-in-fortnite-creative) seems like the easiest way to remove weapons from the player’s inventory. You have the option to configure the device, for example to only remove weapons, leaving consumable items in the player’s inventory, you would set the “Affected Objects” to “Weapons”. Alternatively, you can populate the device with an array of the specific types of items you would like to remove from the player’s inventory.

The verse hooks are here: [item\_remover\_device class | Unreal Editor for Fortnite Documentation | Epic Developer Community (epicgames.com)](https://dev.epicgames.com/documentation/en-us/uefn/verse-api/fortnitedotcom/devices/item_remover_device)
