game_ui_focus
Redirect input focus to game or UI modes in Unreal Engine 5. Reclaim window focus when input seems lost.
Instructions
Set the game's input focus. mode: game, ui, game_and_ui, window.
Bring the window forward and hand focus back to the game with mode="game" if input seems to be going nowhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | game | |
| widget | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |