# How to add on off functionality to an item?

**URL:** <https://forums.unrealengine.com/t/how-to-add-on-off-functionality-to-an-item/130010>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [August 17, 2019, 3:44am UTC](https://forums.unrealengine.com/t/how-to-add-on-off-functionality-to-an-item/130010 "2019-08-17T03:44:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jamen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jamen](https://forums.unrealengine.com/u/Jamen)\
**Post date:** [August 17, 2019, 3:44am UTC](https://forums.unrealengine.com/t/how-to-add-on-off-functionality-to-an-item/130010/1 "2019-08-17T03:44:26Z")

</div>

I want to add functionality to a mod I created. I want the player to be able to press a key to enable and disable a buff that an item gives them.

Specifics are I created a mod called Predator Goggles. Gives the Snow Owl buff. Right now it is always on while the player is wearing them.  
I want the player to be able to press a key, say E for instance, that will toggle the Snow Owl buff on and off while the goggles are being worn.

I am guessing this will require logic in the graph. But I am unsure if it goes in the graph of the buff or of the primal item.

Any hints or help would be appreciated.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![SkyeEden](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skyeeden/32/1116094_2.png) [@SkyeEden](https://forums.unrealengine.com/u/SkyeEden)\
**Post date:** [March 9, 2022, 9:09pm UTC](https://forums.unrealengine.com/t/how-to-add-on-off-functionality-to-an-item/130010/2 "2022-03-09T21:09:49Z")

</div>


