Free Mouse Movement

I’m new to this and I’m trying to create an FPS game.So I want to use the mouse to look around.
How do I implement the camera to look around?Like how we are able to do when we press the middle mouse button.

I’m able to move around space using my keyboard.

Search the forum for “mouselook”, “FPS camera” and the likes. This is a common topic and you will find a lot of code doing just that.

thanks.I’ll look into it