Setup an input mode that allows only the UI to respond to user input, and if the UI doesn't handle it player input / player controller gets a chance.
Target is Widget Blueprint Library
Select Asset
DoNotLock
|
In
Exec
|
|
|
Player Controller
Player Controller Object Reference
|
|
|
In Widget to Focus
Widget Object Reference
|
|
|
In Mouse Lock Mode
EMouseLockMode Enum
|
|
|
Hide Cursor During Capture
Boolean
|
|
Out
Exec
|