Skip to content

Enum

Enum.AspectType

Used by UIAspectRatioConstraint.AspectType to control sizing behavior.

Official docs ↗
ItemValueSummary
Enum.AspectType.FitWithinMaxSize0The object will be the maximum size possible within its own AbsoluteSize.
Enum.AspectType.ScaleWithParentSize1The object's maximum size will be the size of the parent while still maintaining the aspect ratio.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.