# SizeConstraint(ロブロックス 列挙型(Enum)) > Used to constrain the scale of a GUI object. - URL:https://roblox.minecraft-okinawa.com/reference/enums/SizeConstraint/ - 公式:https://create.roblox.com/docs/reference/engine/enums/SizeConstraint ## 選べる値 - Enum.SizeConstraint.RelativeXY(0):The scale of X and Y are independent. - Enum.SizeConstraint.RelativeXX(1):The scale of X is shared with Y. - Enum.SizeConstraint.RelativeYY(2):The scale of Y is shared with X. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)