# Enum.SizeConstraint

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

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

Used to constrain the scale of a GUI object.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `RelativeXY` | 0 | The scale of X and Y are independent. |
| `RelativeXX` | 1 | The scale of X is shared with Y. |
| `RelativeYY` | 2 | The scale of Y is shared with X. |

## Used by

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

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