FNAF Style Camera movement via Cursor

Hi as the title says i’m trying to make a FNaF style camera movement, where when the cursor goes near the edge of the screen it turns the camera X amounts of degrees.

However since i don’t know quite to code (cause our country’s computer classes are shit), i’m asking for your help and ideas.

Cinemachine is probably where you want to start.

Alright I shall try. Thank you for the recommendation

I Figured it out by doing the thing I should have done.

Watch a Brackeys Video.