PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

SurfaceType

SurfaceType

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

Note: Glue, Weld, Studs, Inlet and Universal surfaces only appear in-game when the part’s /BasePart/Material is set to Plastic.


Enums

Name Value Description

Smooth

0

Makes the side appear without any surface detail (except for outlines). Does not create join by default.

Glue

1

Makes the side appear with thick diagonal "X"s. Creates a weak join to other surfaces which will break if enough force is applied to one of the parts.

Weld

2

Makes the side appear with thick diagonal "X"s. Creates a join to any surface except for Unjoinable.

Studs

3

Makes the side appear with square studs. Creates a join if moved next to a Inlet or Universal surface.

Inlet

4

Makes the side appear with holes where studs would be. Creates a join if moved next to a Stud or Universal surface.

Universal

5

Makes the side appear with both Studs and Inlets in a checker pattern. Creates a join if moved next to a Stud, Inlet, or another Universal surface.

Hinge

6

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

Motor

7

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

SteppingMotor

8

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

SmoothNoOutlines

10

Same as Smooth, but removes the outlines of the surface.

Referenced by

  • BasePart/TopSurface
  • BasePart/RightSurface
  • BasePart/LeftSurface
  • BasePart/FrontSurface
  • BasePart/BottomSurface
  • BasePart/BackSurface