Reference API Roblox

Engine API

Website

Related

Reference API Roblox

PartType

Controls the Part.Shape of an object.

Items 5

HistoryNameValueDescription
47Ball0

A spherical shape.

47Block1

A block shape.

47Cylinder2

A cylinder shape oriented along the X axis.

580Wedge3

A wedge shape with a slope on one side.

580CornerWedge4

A wedge shape with slopes on two sides.

Description

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).

History 8

Settings