Making a smooth camera movement

Godot Version

Godot 4.7.2.stable

Question

How can I smoothly change the position like in celeste?

func _on_visible_on_screen_notifier_2d_screen_exited() -> void:
	Camera.global_position = global_position

You can tick the “position smoothing” in the camera properties.

Thanks didn’t know about that property