# Enum.SurfaceType

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/SurfaceType/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/SurfaceType

Used to determine how a surface should be displayed on a part and how automatic surface joints should behave.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Smooth` | 0 | Legacy name: `Spawn`, Legacy name: `Unjoinable`. Adds no details on the surface. |
| `Glue` | 1 | Legacy name: `Bumps`. 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`](https://rapi.sleaze.dev/classes/HingeConstraint.md). |
| `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. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [BasePart](https://rapi.sleaze.dev/classes/BasePart.md): property `BackSurface`, `BottomSurface`, `FrontSurface`, `LeftSurface`, `RightSurface`, `TopSurface`
