Subviewport sizing

Godot Version

4.3

Question

Is the subviewport size hard locked at 512x512? If I change the size of it, it shrinks or stretches the scene within it.

I want to resize the “canvas” if that make sense? Changing the sizes of the Subviewport Container doesn’t do anything either, nor the size 2D overrides.

What if I want to extend the size of the view? Or reduce it, clipping whatever its rendering? I have neither options.

By default the subviewport, under a container, will take its size setting. If you want a dynamic resize with the container you need to turn on stretch.

This will disable control of the subviewport size and will maintain a 1:1 ratio with the project resolution settings with its canvas area, unless you use the shrink ratio to lower its resolution.