---
name: SurfaceGuiSizingMode
last_updated: 2026-06-11T23:11:58Z
type: enum
summary: "Used by SurfaceGui.SizingMode to control the sizing behavior of a SurfaceGui."
---

# SurfaceGuiSizingMode

Used by [SurfaceGui.SizingMode](/docs/reference/engine/classes/SurfaceGui.md) to control the sizing behavior of a
[SurfaceGui](/docs/reference/engine/classes/SurfaceGui.md).

**Type:** enum

## Items

| Name | Value | Description |
|------|-------|-------------|
| `FixedSize` | 0 | Renders with a fixed size set using [SurfaceGui.CanvasSize](/docs/reference/engine/classes/SurfaceGui.md). |
| `PixelsPerStud` | 1 | Renders with a variable size based on [SurfaceGui.PixelsPerStud](/docs/reference/engine/classes/SurfaceGui.md) and the SurfaceGui's size in studs. |