How can I make the camera move according to the mouse?

I want to move the camera as shown in this screen recording. can anyone tell me how?
https://gyazo.com/bf53f2e199a1a923c9e271807f2dc583

Did you try the Search button up top?
I searched “camera to mouse” and found quite a few promising posts.

Mouse Camera Thing read the replies