Using the Show Mouse Cursor command (or BP node) will make the mouse appear in the game window however at that point the mouse does not interact with the game unless one of the mouse buttons is held.
1. Open UE4 Editor (third person template project)
2. In the player character BP add an EventBeginPlay node and GetPlayerController node
3. Pull off from GetPlayerController Return Value and add SetShowMouseCursor node
4. Wire EventBeginPlay into SetShowMouseCursor and make sure the boolean is set to true
5. Compile BP and PIE
Result:
The mouse will appear in game but the camera will not rotate around the camera unless the mouse button is held.
Head over to the existing Questions & Answers thread and let us know what's up.
17 |
Component | UE - Editor - UI Systems - Slate |
---|---|
Affects Versions | 4.8.3, 4.16, 4.20, 4.22 |
Created | Aug 24, 2015 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |