PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. Instead, you should go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar

SizingMode

SurfaceGui

SurfaceGuiSizingMode

When set to Enum/SurfaceGuiSizingMode/FixedSize, SurfaceGui renders with a fixed size set using SurfaceGui/CanvasSize.

When set to Enum/SurfaceGuiSizingMode/PixelsPerStud, SurfaceGui renders with a variable size based on SurfaceGui/PixelsPerStud and the SurfaceGui’s size in studs.