Camera following player

Godot Version

4.2.2

Hey hi, so I’m currently working on a simple 2d project where a player moves and the camera follows but I want to integrate mobile buttons, so I did and when I jump the buttons jumb, is there a way to fix thid like to make the button fixed while the camera follows the player smoothly???
Please help

Create a Canvaslayer node and make the buttons children of the CanvasLayer node. That way the Camera2D doesn’t influcence the position of these buttons.

1 Like

Thank you so much it workeddd