# How to Show Mouse Cursor without losing mouse capture?

**URL:** <https://forums.unrealengine.com/t/how-to-show-mouse-cursor-without-losing-mouse-capture/578191>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 9, 2022, 9:19pm UTC](https://forums.unrealengine.com/t/how-to-show-mouse-cursor-without-losing-mouse-capture/578191 "2022-06-09T21:19:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![xi57](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xi57/32/1194660_2.png) [@xi57](https://forums.unrealengine.com/u/xi57)\
**Post date:** [June 9, 2022, 10:12pm UTC](https://forums.unrealengine.com/t/how-to-show-mouse-cursor-without-losing-mouse-capture/578191/3 "2022-06-09T22:12:01Z")

</div>

I’m using the Enhanced Input System that Epic set up for LyraStarterGame.

The one and only change that I’ve made is that I changed the input such that the mouse input doesn’t pan the camera unless the middle mouse button is also pressed. This way I can move the mouse around the screen and click on things independently of panning the camera.

I’ve done nothing at all with the left or right clicks, which are the things that are breaking the input IF and only if the mouse cursor is visible.

Somewhere deep in UE it’s doing something like “if cursor is visible, don’t let mouse input get to the game.”

I’ve tried various forms of `SetInputMode()` but none of them seem to do what I want, which is to have the mouse be visible AND still send the enhanced input system mouse movement events to the game.

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-show-mouse-cursor-without-losing-mouse-capture/578191)._
