how to properly disable input while player is inspecting an item?

hi, so basically what I wanna do is disable player input so that the player won’t be able to move and the camera shouldn’t rotate while in inspecting mode. however i still want to be able to rotate the object that the player is currently inspecting with the mouse and I kinda did that with GetControlRotation, but the problem is that when I call DisableInput Function it disables everything including mouse and I can’t even re-enable the input with another key cuz nothing is responsive anymore.

and I’m using Linetracebychannel to interact with the item btw.