I’m working on a First Person project in Unreal Engine 5.6. I have a system where, when the player enters a puzzle area, a UI widget is added to the viewport in fullscreen. At that point:
-
The widget takes over the entire screen.
-
The mouse cursor is enabled so the player can interact with the UI.
-
The character’s movement is disabled.
When entering the puzzle, everything works fine: I can use the mouse and interact with the widget.
The problem is when exiting the puzzle area:
-
I remove the widget from the viewport.
-
I set input mode back to
Game Only. -
I disable the mouse cursor.
-
I restore movement with
Set Movement Mode (Walking).
But after exiting, the player cannot move or look around, and the mouse doesn’t work either.
Can somebody please help me