3rd person camera turning to look left and right

how do I get a 3rd person camera to turn to look left or right from a players input, without turning the object left or right, in a 3D game.

if you cant do that on gdevelop, try unity :wink: