Unity 2d camera like Jump King

I am making a wish.com version of Jump King and i have met a problem where when i leave the camera, it just stays behind (obviously I haven’t done anything to change it) does anyone know what to do to change that?

Simple solution: drag and drop the camera in the hierarchy into the player object. Then the camera will follow the player object.

If you need a more advanced solution, you’ll need to explore the Cinemachine manual.

Thanks for quick reply it worked like intended