After every UI iteration my mouse disappears in game unless I specify within the c++ and return it. Is there any global settings for to keeping mouse cursor instead of coding within each UI interactions in game?
Hello @vnvtkan ,
To be able to use the mouse and navigate freely while the UI is open, after creating it you can set the following nodes:
- Set Input Mode UI Only
- Show Mouse Cursor with the tick enabled
This makes the cursor visible and routes all input exclusively to the UI, allowing you to interact with it without issues.
When you close the UI (for example, via a button), simply revert the setup:
- Set Input Mode Game Only
- Show Mouse Cursor disabled
With this, control returns to the game and the cursor is hidden again.
This way, you can switch smoothly between gameplay and UI without the cursor disappearing.
1 Like
Thank you
1 Like

