# How to disable right click temporarily?

**URL:** <https://forums.unrealengine.com/t/how-to-disable-right-click-temporarily/389753>\
**Category:** Character & Animation\
**Tags:** disable-rendering, unreal-engine, editor, UE4, Blueprint, question\
**Created:** [April 2, 2017, 3:56pm UTC](https://forums.unrealengine.com/t/how-to-disable-right-click-temporarily/389753 "2017-04-02T15:56:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qwire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Qwire](https://forums.unrealengine.com/u/Qwire)\
**Post date:** [April 2, 2017, 3:56pm UTC](https://forums.unrealengine.com/t/how-to-disable-right-click-temporarily/389753/1 "2017-04-02T15:56:03Z")

</div>

Hey there guys! I am working on my game and all and I was wondering how to disable the right click for a period of time until activated either via a trigger box or cutscene. Basically, I am triggering a weapon via the right click and don’t want the player to be able to use it until I play a cutscene to explain it. For whatever reason it doesn’t want to disable so am I doing something wrong? (Which is completely expected.) Would anyone be able to lend a hand with fixing this? Like I know that I will be needing a branch to set if it is true and all- I am just not understanding where to go to actually get it to disable.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/c/08ced05166c1b7ab2248b53e44f674958b2eca05.png)

---

<div class="post-metadata">

**Author:** ![kalekarri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kalekarri](https://forums.unrealengine.com/u/kalekarri)\
**Post date:** [April 4, 2017, 1:22am UTC](https://forums.unrealengine.com/t/how-to-disable-right-click-temporarily/389753/2 "2017-04-04T01:22:13Z")

</div>

You can add a “gate” after right mouse button, set it to start closed, then connect the overlap to the gates “open”. After gate set activate weapon [x]. If i understood right the stuff youre trying to do

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0bbb9307](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0bbb9307](https://forums.unrealengine.com/u/anonymous_user_0bbb9307)\
**Post date:** [November 25, 2017, 11:29pm UTC](https://forums.unrealengine.com/t/how-to-disable-right-click-temporarily/389753/3 "2017-11-25T23:29:59Z")

</div>

activate weapon [x]? can u send pic or explain what that means ? thx 🙂
