I would suggest not using GDScript for that, but instead just make the camera a child node of the object it should follow.

NeonMika
@NeonMika
I would suggest not using GDScript for that, but instead just make the camera a child node of the object it should follow.