SetUserFocus do not want to let my cursor hidden


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!

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