Adjust FreeLook Camera in script

Hi. I’m new to C# and Unity. I was wondering if there was a way to move the freelook camera to behind the player when they press a button. I already have a variable that knows which way the player is facing.

Nevermind, I found a solution.

What was the solution?