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.

PartType

The PartType enum specifies the primitive geometry shape of a Part, assigned through its Shape property. A new Part defaults to Block. The five available shapes are Ball (sphere), Block (rectangular prism), Cylinder (oriented along the X axis), Wedge (a ramp with a slope on one face), and CornerWedge (a ramp with slopes on two perpendicular faces).

Items

NameValueDescription
Ball0A spherical shape.
Block1A block shape.
Cylinder2A cylinder shape oriented along the X axis.
Wedge3A wedge shape with a slope on one side.
CornerWedge4A wedge shape with slopes on two sides.

Ball

A spherical shape.

FieldValue
value0

Block

A block shape.

FieldValue
value1

Cylinder

A cylinder shape oriented along the X axis.

FieldValue
value2

Wedge

A wedge shape with a slope on one side.

FieldValue
value3

CornerWedge

A wedge shape with slopes on two sides.

FieldValue
value4