Lock camera movement caused by mouse for a moment during menu screens

I have an inventory system that pops up on a keypress. I was to disable my camera movement for a moment while the player interacts with the menus then when they return to the game re-enable to camera.

How can I do this?

Figured it out.

1 Like