1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

Deprecated

SurfaceConstraint

This item is deprecated and is replaced by the SurfaceType enum.

Deprecated: This item is deprecated and is replaced by the SurfaceType enum.

Items

NameValueDescription
None0No surface constraint.
Hinge1Makes the side appear with a yellow hinge. Any part connected to this hinge will stick to the side and rotate using physics.
SteppingMotor2Functions identically to a motor. It may have functioned differently in the past, but that functionality no longer seems to exist.
Motor3Acts the same as a Hinge, but has a grey ring around it and automatically rotates any part connected to it.

None

No surface constraint.

FieldValue
value0

Hinge

Makes the side appear with a yellow hinge. Any part connected to this hinge will stick to the side and rotate using physics.

FieldValue
value1

SteppingMotor

Functions identically to a motor. It may have functioned differently in the past, but that functionality no longer seems to exist.

FieldValue
value2

Motor

Acts the same as a Hinge, but has a grey ring around it and automatically rotates any part connected to it.

FieldValue
value3