Constraint

Constraint : Instance

Overview

The base class for constraint-based instances.

Properties

Attachment0

Attachment

Sets the first attachment point (Attachment0) for the constraint.

Code Samples

local LinearVelocity = script.Parent

LinearVelocity.Attachment0 = Attachment

Attachment1

Attachment

Sets the second attachment point (Attachment1) for the constraint.

Code Samples

local LinearVelocity = script.Parent

LinearVelocity.Attachment1 = Attachment

Color

Color3

Currently not supported.

Code Samples

Enabled

bool

Sets whether the constraint is active.

Code Samples

local LinearVelocity = script.Parent

LinearVelocity.Enabled = false

Visible

bool

Currently not supported.

Code Samples

Methods

Events

Last updated