Hey @Sandy_raj! Welcome to the forums!
I’m trying to imagine what it is you’re trying to do and why you’d need to do that- this can usually determine the best course of action because it’s not that cut and dry when it comes to game mechanics. Is this a first person shooter where you only shoot while turning the camera, am I understanding correctly?
Get back to us!