# Normal - Conditional Button devices do not consume key items that are ingredient resources (Resolved)

**URL:** <https://forums.unrealengine.com/t/normal-conditional-button-devices-do-not-consume-key-items-that-are-ingredient-resources-resolved/776448>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite\
**Created:** [February 22, 2023, 4:05pm UTC](https://forums.unrealengine.com/t/normal-conditional-button-devices-do-not-consume-key-items-that-are-ingredient-resources-resolved/776448 "2023-02-22T16:05:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DustinREDGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dustinredgames/32/634988_2.png) [@DustinREDGames](https://forums.unrealengine.com/u/DustinREDGames)\
**Post date:** [February 22, 2023, 4:05pm UTC](https://forums.unrealengine.com/t/normal-conditional-button-devices-do-not-consume-key-items-that-are-ingredient-resources-resolved/776448/1 "2023-02-22T16:05:52Z")

</div>

A Conditional Button device does not consume the key items if they are a resource ingredient, like “Cube Monster Parts”, even with “Consume Key Items” checked. It will only consume the item if it is something that shows up in the players inventory bar. The player is still allowed to trigger the button with the key item, but it is not consumed.

---

<div class="post-metadata">

**Author:** ![AxelCapek](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/axelcapek/32/950074_2.png) [@AxelCapek](https://forums.unrealengine.com/u/AxelCapek)\
**Post date:** [February 22, 2023, 4:13pm UTC](https://forums.unrealengine.com/t/normal-conditional-button-devices-do-not-consume-key-items-that-are-ingredient-resources-resolved/776448/2 "2023-02-22T16:13:58Z")

</div>

Make sure you have infinite resources set to OFF in the experiences settings.

---

<div class="post-metadata">

**Author:** ![DustinREDGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dustinredgames/32/634988_2.png) [@DustinREDGames](https://forums.unrealengine.com/u/DustinREDGames)\
**Post date:** [February 22, 2023, 4:28pm UTC](https://forums.unrealengine.com/t/normal-conditional-button-devices-do-not-consume-key-items-that-are-ingredient-resources-resolved/776448/3 "2023-02-22T16:28:47Z")

</div>

That was it, Thank you!

---

<div class="post-metadata">

**Author:** ![Tasty\_Snak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tasty_snak/32/550507_2.png) [@Tasty\_Snak](https://forums.unrealengine.com/u/Tasty_Snak)\
**Post date:** [July 5, 2023, 7:34am UTC](https://forums.unrealengine.com/t/normal-conditional-button-devices-do-not-consume-key-items-that-are-ingredient-resources-resolved/776448/4 "2023-07-05T07:34:59Z")

</div>

This also solved my issue where I did not need any of the required items to activate the button. I called the GetItemCount function and it returned 2147483647, which is the max value of a signed integer. No idea why it would be set to that on begin, but for whatever reason unchecking infinite resources works.
