Camera2D follow CharacterBody2D from the middle of the screen

Godot Version

4.3

Question

I created a CharactedBody2D(aka Player) with sprites, etc, and a Camera2D. Player starts from the the left of the screen so if I put camera as a child will follow from that position, but what I'm trying to reach is that when the player start moving from the left to the right, camera do not move and when the player reach the middle of the screen then camera will start follow this is just at the beginning of the level/scene

You can edit the Limit left atribute of the camera to tell it where is the limit it can go to the left in your screen. Based on it, it will never pass the further left of your level and once the player is in the middle of it, it will start to follow it :slight_smile:

Be aware that the camera’s limits takes in consideration the edges of it, not the center. So try to find the X position where the left edge can not pass.