# \[Common UI\] How to disable the resetting mouse position and cursor visibility on switched to controller?

**URL:** <https://forums.unrealengine.com/t/common-ui-how-to-disable-the-resetting-mouse-position-and-cursor-visibility-on-switched-to-controller/1627476>\
**Category:** Editor Scripting\
**Tags:** User-Interface, mouse-cursor, unreal-engine, Plugins\
**Created:** [January 19, 2024, 11:19pm UTC](https://forums.unrealengine.com/t/common-ui-how-to-disable-the-resetting-mouse-position-and-cursor-visibility-on-switched-to-controller/1627476 "2024-01-19T23:19:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elmarath](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elmarath](https://forums.unrealengine.com/u/Elmarath)\
**Post date:** [January 19, 2024, 11:19pm UTC](https://forums.unrealengine.com/t/common-ui-how-to-disable-the-resetting-mouse-position-and-cursor-visibility-on-switched-to-controller/1627476/1 "2024-01-19T23:19:19Z")

</div>

In common UI there is a feature that resets the position of the mouse cursor to middle of the screen when switched to a controller. And this also disables the cursor visibility.  
My game is a topdown game and I use the cursor to determine gameplay events.  
How can I disable this future so when switched to a controller Common UI won’t effect the cursor?
