# Enum.SurfaceGuiSizingMode

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/SurfaceGuiSizingMode/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/SurfaceGuiSizingMode

Used by [`SurfaceGui.SizingMode`](https://rapi.sleaze.dev/classes/SurfaceGui.md) to control the sizing behavior of a [`SurfaceGui`](https://rapi.sleaze.dev/classes/SurfaceGui.md).

## Items

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

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [SurfaceGui](https://rapi.sleaze.dev/classes/SurfaceGui.md): property `SizingMode`
