# UDim(ロブロックス データ型) > Represents a one-dimensional value with two components, a relative scale and an absolute offset. - URL:https://roblox.minecraft-okinawa.com/reference/datatypes/UDim/ - 公式:https://create.roblox.com/docs/reference/engine/datatypes/UDim ## コンストラクター - `UDim.new(Scale: number, Offset: number)`:Returns a UDim from the given components. ## プロパティ - `UDim.Scale: number`:The relative scale component of the UDim. - `UDim.Offset: number`:The absolute offset component of the UDim. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)