Roblox Wiki
Roblox Wiki
38,920
pages

The Constraint class, added in version 0.241, inherits from Instance.

Properties

Active: bool

  • Read-onlyThis property is capable of being read but not written.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:Constraint/Active.
  • Category: Behavior.
  • Serialization: cannot load or save.
  • Thread safety: read safe

Attachment0: Attachment

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:Constraint/Attachment0.
  • Category: Attachments.
  • Serialization: can save and load.
  • Thread safety: read safe

Attachment1: Attachment

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:Constraint/Attachment1.
  • Category: Attachments.
  • Serialization: can save and load.
  • Thread safety: read safe

Color: BrickColor

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:Constraint/Color.
  • Category: Appearance.
  • Serialization: can save and load.
  • Thread safety: read safe

Enabled: bool

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:Constraint/Enabled.
  • Category: Behavior.
  • Serialization: can save and load.
  • Thread safety: read safe

Visible: bool

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:Constraint/Visible.
  • Category: Appearance.
  • Serialization: can save and load.
  • Thread safety: read safe

Methods

GetDebugAppliedForce(bodyId: int): Vector3

  • DeprecatedThis member will be phased out and should be avoided while it is still available.
Parameters
NameType
bodyIdint
  • Thread safety: unsafe

GetDebugAppliedTorque(bodyId: int): Vector3

  • DeprecatedThis member will be phased out and should be avoided while it is still available.
Parameters
NameType
bodyIdint
  • Thread safety: unsafe

External links[]