You can show and hide mouse cursor in Unreal Engine by doing a very simple blueprint code.
In the player controller simply use “Show Mouse cursor” Node to show mouse cursor. It’s a Boolean which will show the cursor if it is true and hide the mouse cursor if it is false.
You can also use this in any other blueprint actor by getting player controller reference.
Also make sure you these settings in the Project Settings->Input to avoid any problems.
These settings will prevent mouse capture when your application starts.
Add Comment