Dinamic Rect2D that adjusts itself with 16:9 resolution?

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

I’m using a Rect2D typed variable for taking a screenshot of my game, but based on the size of the screen it gets deformed or misplaced, can i make it dinamic?