# SetUserFocus do not want to let my cursor hidden

**URL:** <https://forums.unrealengine.com/t/setuserfocus-do-not-want-to-let-my-cursor-hidden/129823>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [August 12, 2019, 12:27pm UTC](https://forums.unrealengine.com/t/setuserfocus-do-not-want-to-let-my-cursor-hidden/129823 "2019-08-12T12:27:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aqshay](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/aqshay/32/598451_2.png) [@Aqshay](https://forums.unrealengine.com/u/Aqshay)\
**Post date:** [August 12, 2019, 12:27pm UTC](https://forums.unrealengine.com/t/setuserfocus-do-not-want-to-let-my-cursor-hidden/129823/1 "2019-08-12T12:27:49Z")

</div>

Hello!

I’m working on 4.20.3, and trying to make my menu open without a cursor when the player uses a gamepad.

I use FInputModeUIOnly::SetWidgetToFocus to pass my menu I want to focus and allow gamepad interaction.  
I set the cursor in my widget to none and once the menu visible and focus, the cursor is still visible on the screen and need to be moved to update and disappear.

The control logic is in the widget.  
bShowMouseCursor is set to false.

I find that it’s FReply::SetUserFocus that cause the cursor to show, but can’t figure out how it works.

If anyone has an idea, thanks!

---

<div class="post-metadata">

**Author:** ![Lambdarevolution](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lambdarevolution](https://forums.unrealengine.com/u/Lambdarevolution)\
**Post date:** [August 12, 2019, 7:28pm UTC](https://forums.unrealengine.com/t/setuserfocus-do-not-want-to-let-my-cursor-hidden/129823/2 "2019-08-12T19:28:44Z")

</div>

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-52561)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

So either wait or use a workaround there are a few floating around if you search the forums.
