Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
SurfaceType
Used to determine how a surface should be displayed on a part and how automatic surface joints should behave.
Deprecated: SurfaceType joining is deprecated, leaving only visual changes on the affected Part. It should not be used for future work.
Items
| Name | Value | Description |
|---|---|---|
| Smooth | 0 | Adds no details on the surface. |
| Glue | 1 | Adds an "X" pattern across the surface. |
| Weld | 2 | Adds an "X" pattern across the surface. |
| Studs | 3 | Adds square studs across the surface. |
| Inlet | 4 | Adds square holes across the surface where studs would be. |
| Universal | 5 | Adds a checker pattern to the surface using studs and inlets. |
| Hinge | 6 | Adds a yellow hinge to the surface. Parts touching it stick to the surface, allowing for rotations using physics. This should not be used for future work and existing instances should be replaced with a HingeConstraint. |
| Motor | 7 | Functioned identically to a hinge with the addition of a grey ring. |
| SteppingMotor | 8 | Functioned identically to a motor. It may have functioned differently in the past, but that functionality is non-existent. |
| SmoothNoOutlines | 10 | Previously similar to Smooth with outlines but no longer relevant since outlines have been removed. |
Smooth
Adds no details on the surface.
| Field | Value |
|---|---|
| value | 0 |
Glue
Adds an "X" pattern across the surface.
| Field | Value |
|---|---|
| value | 1 |
Weld
Adds an "X" pattern across the surface.
| Field | Value |
|---|---|
| value | 2 |
Studs
Adds square studs across the surface.
| Field | Value |
|---|---|
| value | 3 |
Inlet
Adds square holes across the surface where studs would be.
| Field | Value |
|---|---|
| value | 4 |
Universal
Adds a checker pattern to the surface using studs and inlets.
| Field | Value |
|---|---|
| value | 5 |
Hinge
Adds a yellow hinge to the surface. Parts touching it stick to the surface, allowing for rotations using physics. This should not be used for future work and existing instances should be replaced with a HingeConstraint.
| Field | Value |
|---|---|
| value | 6 |
Motor
Functioned identically to a hinge with the addition of a grey ring.
| Field | Value |
|---|---|
| value | 7 |
SteppingMotor
Functioned identically to a motor. It may have functioned differently in the past, but that functionality is non-existent.
| Field | Value |
|---|---|
| value | 8 |
SmoothNoOutlines
Previously similar to Smooth with outlines but no longer relevant since outlines have been removed.
| Field | Value |
|---|---|
| value | 10 |