PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
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.