# Right mouse button problem with inventory system and camera movement

**URL:** <https://forums.unrealengine.com/t/right-mouse-button-problem-with-inventory-system-and-camera-movement/332017>\
**Category:** Editor Scripting\
**Tags:** system, inventory, unreal-engine, UE4, question, Blueprint\
**Created:** [September 13, 2015, 5:40am UTC](https://forums.unrealengine.com/t/right-mouse-button-problem-with-inventory-system-and-camera-movement/332017 "2015-09-13T05:40:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CheersItsSheers](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CheersItsSheers](https://forums.unrealengine.com/u/CheersItsSheers)\
**Post date:** [September 13, 2015, 5:40am UTC](https://forums.unrealengine.com/t/right-mouse-button-problem-with-inventory-system-and-camera-movement/332017/1 "2015-09-13T05:40:08Z")

</div>

I’m following this series of videos on making an inventory system, and I’m having a problem with the camera. The problem starts after I close my inventory menu. I still have to hold down right mouse button in order to move the camera around, even after I Set Focus to Game Viewport.

[Here is the video series I’m following, and this is the video where he fixes the issue, but I still seem to have it.][1]

Here is how I toggle the inventory on and off ingame:

 ![58379-togglinginventoryonandoff.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/e/08e05d85a80c6b41945ff808b3c6c57c724d92c9.png)

And this is how I disable movement and activate menu cursor and functions:

 ![58380-thedisablingofmovement.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/0/da09ac503869a60b48b0bd5d3c4cb590bfae3b4d.png)

Cheers!  
~Sheers

---

<div class="post-metadata">

**Author:** ![danilbo991](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/danilbo991/32/745645_2.png) [@danilbo991](https://forums.unrealengine.com/u/danilbo991)\
**Post date:** [September 19, 2023, 3:37pm UTC](https://forums.unrealengine.com/t/right-mouse-button-problem-with-inventory-system-and-camera-movement/332017/2 "2023-09-19T15:37:44Z")

</div>

Have you solve this problem? I faced the same one working with dialogue system widget ☹

---

<div class="post-metadata">

**Author:** ![illspiritx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Post date:** [September 19, 2023, 5:35pm UTC](https://forums.unrealengine.com/t/right-mouse-button-problem-with-inventory-system-and-camera-movement/332017/3 "2023-09-19T17:35:38Z")

</div>

The usual fix would be to set input mode to game only after closing a widget. The game and UI input mode has always been a bit wonky like that.
