UISizeConstraint
Constrains an interface element's minimum and maximum size.
- Creatable
Instance.new("UISizeConstraint")- Inherits
- UIConstraintUIComponentUIBaseInstance
- Replication
- Standard
Behavior
UISizeConstraint constrains an interface element's minimum and maximum size.
Summary
Members3
Properties2
MaxSize: Vector2 = Vector2.new(340282350000000000000000000000000000000, 340282350000000000000000000000000000000)parallel readThe maximum allowed element size in pixels.
The minimum allowed element size in pixels.
Methods1
Returns this instance if it is an ExecutionGroup.
Properties
MaxSize
UISizeConstraint.MaxSize: Vector2 = Vector2.new(340282350000000000000000000000000000000, 340282350000000000000000000000000000000)The maximum allowed element size in pixels.
MinSize
UISizeConstraint.MinSize: Vector2 = Vector2.new(0, 0)The minimum allowed element size in pixels.
Methods
GetExecutionGroup
UISizeConstraint:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Inherited members
Inherited47
Instance47
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying