Announcement

Collapse
No announcement yet.

SetUserFocus do not want to let my cursor hidden

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SetUserFocus do not want to let my cursor hidden

    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!



    #2
    https://issues.unrealengine.com/issue/UE-52561

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

    Comment

    Working...
    X