Disabling camera movement when cursor is visible.

Hello! I’m working on an inventory in a third person game mode, and i want to show the mouse cursor when i press the inventory button, and with that disable the camera movement with the cursor.

With this the cursor is there, but as i move it the camera follows.

Any blueprint suggestions?

Did you try setting that player controller’s Input Mode to UI Only?

It depends on how your camera movement is setup, but I guess you could just have a boolean in your character like “bIsInInventory” that you put to true when you display the inventory, false otherwise. And in the event in which you move the camera, just check the value of this boolean : if it’s true, don’t do anything, if it’s false, run your camera movement code.

5 years later but i want to thank you. it is so simple but very effective!