Disable camera movement

i want to make a pack for the UE store and i want to enable the mouse cusor after i called the widget where i can click on buttons but the camera follow my cusor and i want that the camara dont move. How can i set this up?

try using ‘Set Input Mode UI Only’ or ‘Set Input Mode game and UI’ with capture enabled when you want to use the mouse. And don’t forget to use ‘Set Input Mode Game Only’, or disable capture on the ‘Set Input Mode game and UI’ if you want to return to the game again