Class · inherits Instance
Constraint
The base class for constraint-based objects.
About Constraint
The base class for constraint-based objects. See mover constraints and mechanical constraints for more details.
Properties 6
Active
: booleanReadOnlyNotReplicatedIndicates if the constraint is currently active in the world.This property is
trueif the constraint and both of its parts are in theWorkspaceand the constraint'sConstraint.Enabledproperty istrue.Attachment0
: AttachmentTheAttachmentthat is connected toConstraint.Attachment1.The
Attachmentthat is connected toConstraint.Attachment1Attachment1
: AttachmentTheAttachmentthat is connected toConstraint.Attachment0.The
Attachmentthat is connected toConstraint.Attachment0Color
: BrickColorThe color of the constraint.Enabled
: booleanToggles whether or not the constraint is enabled.Visible
: booleanToggles the constraint's visibility.
Constraint also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.