# Mouse to center of the screen but then unlock after in-game menu opens

**URL:** <https://forums.unrealengine.com/t/mouse-to-center-of-the-screen-but-then-unlock-after-in-game-menu-opens/484782>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 11, 2021, 6:18pm UTC](https://forums.unrealengine.com/t/mouse-to-center-of-the-screen-but-then-unlock-after-in-game-menu-opens/484782 "2021-06-11T18:18:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NwVrDevteam7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NwVrDevteam7](https://forums.unrealengine.com/u/NwVrDevteam7)\
**Post date:** [June 11, 2021, 6:18pm UTC](https://forums.unrealengine.com/t/mouse-to-center-of-the-screen-but-then-unlock-after-in-game-menu-opens/484782/1 "2021-06-11T18:18:26Z")

</div>

Hello, I have come across a problem with my mouse movement. I am able to move around perfectly in first person, the thing is that the mouse cursor moves around the screen, and doesn’t stay “centered”. Whenever I press “tab” to open the in-game menu, the mouse cursor is on the corners of the screen and it is not in the center. I was wondering if there was a way to keep the mouse cursor “centered” until I open the menu, and when I open the menu, for it to be “unlocked” like it was before so you can use it to click the menu settings.  
Thank you,
