How do I make a 3d camera move with mouse

How to make standard 3d game camera movement using mouse? Please help because I don’t even know where to begin with this.

Here you go and ignore my event with “back” and the rest is important

Also dont forget to add the mouse pointer lock extension