How to make camera follow my mouse cursor

Hi, Today what I’m trying to do is make my camera follow my mouse cursor (Like in Fallout, and Fallout 2)

Ok, so what you want to do here… is quite possibly

transform.position = new Vector3(Input.mousePosition.x, Input.mousePosition.y, 0);

basically you will set the transform position to a vector 3 and give it the basic input’s you want via the users mouse interaction… mind you this wont be a copy pasta explanation just something to work off of

as some references…

Thanks, I’ll try it