Constraint

extends Instance

Class fields

FieldXML typeValue
NamestringConstraint
ClassCategorystringPhysics
summarystringThe base class for constraint-based objects.
ExplorerOrderstring3
ExplorerImageIndexstring86
PreferredParentstringBasePart
PreferredParentsstringBasePart

Properties

6
Active
bool
FieldXML typeValue
NamestringActive
summarystringWhether the enabled constraint and both connected parts are in the Workspace.
Attachment0
Object
FieldXML typeValue
NamestringAttachment0
summarystringThe first attachment connected by the constraint.
Attachment1
Object
FieldXML typeValue
NamestringAttachment1
summarystringThe second attachment connected by the constraint.
Color
BrickColor
FieldXML typeValue
NamestringColor
summarystringThe rendered color of the constraint.
Enabled
bool
FieldXML typeValue
NamestringEnabled
summarystringControls whether the constraint is enabled.
Visible
bool
FieldXML typeValue
NamestringVisible
summarystringControls whether the constraint is visible.