How do I stop the Camera2D to stop resizing with the game resolution?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By even_nuller

I’m trying to make the camera only move in a specific direction and for that I need to limit the camera but for that to work I need to stop the camera from resizing with the game resolution.

:bust_in_silhouette: Reply From: even_nuller

Turns out what I needed to do instead was to enable stretch and set the mode to 2D and the aspect to keep, in Project SettingsDisplayWindow.