Trying to code camera

trying to code a camera to follow the player but i also want the player to be able to rotate the camera with the left and right arrow keys im very new to playcanvas so i literately have no idea of how to go about this.

@Astro Hi… I am not sure totally what you are looking for in the second part of your question but this tutorial is for a third person view using the camera. Maybe you can add to this the other action you are looking for. There are also some other camera following topics in this forum.