SurfaceType
Specifies the surface joint behavior of a part face.
Access items through Enum.SurfaceType.
Behavior
Enum.SurfaceType specifies face appearance and compatibility for surface
joints. A new part uses Studs on top and Inlet underneath.
Use WeldConstraint to explicitly join two parts.
Items
A smooth surface without a surface joint.
A joint that breaks under less force than a weld.
A rigid joint against a contacting surface.
A raised surface compatible with Inlet.
A recessed surface compatible with Studs.
A surface that joins to any contacting surface.
A smooth surface without a black outline.
Smooth
A smooth surface without a surface joint.
Glue
A joint that breaks under less force than a weld.
Weld
A rigid joint against a contacting surface.
Studs
A raised surface compatible with Inlet.
Inlet
A recessed surface compatible with Studs.
Universal
A surface that joins to any contacting surface.
SmoothNoOutlines
A smooth surface without a black outline.
Example
local part = Instance.new("Part")
part.TopSurface = Enum.SurfaceType.Smooth