Function to set camera pos to borders

Godot Version

godot4

Question

is there a function that alighns the camera to its borders?
example i set the borders but i want to set the camera in code so i can get the cam pos before the next frame

nrm i clicked the smoothed option under the border settings
image

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.