---
name: SizeConstraint
last_updated: 2026-06-11T23:11:58Z
type: enum
summary: "Used to constrain the scale of a GUI object."
---

# SizeConstraint

Used to constrain the scale of a GUI object.

**Type:** enum

## 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. |