How do I toggle the left click from controlling and not controlling the movement of the camera?

So I’m setting up my First Person character to follow basic movement and controls. Right click brings up the mouse to interact with the environment and while that mouse is up left click and hold rotates the camera. How do I toggle the left click from controlling and not controlling the movement of the camera? I can’t find any of the offending variables that could control such a thing. Deleting the turning code prevents left click from moving the camera but that would be counter-intuitive.

So is there a node that disables/enables mouse look, so when the cursor is shown, you can’t left mouse click to rotate the camera?

Thanks!

-Brad

You can try adding the left click event node then assign a boolean variable, for example LeftClick = true when Pressed, = false when Released
Then modify the rotate nodes with a Branch node in front, so if LeftClick = true then we execute the rotate node otherwise do nothing

Cheers,
Hugh