Open Asterune
PartType

PartType

Specifies the geometric shape of a part.

Access items through Enum.PartType.

Behavior

Enum.PartType sets a part's Shape for rendering and collision. Size defines the bounding dimensions in studs. A ball uses the smallest dimension as its diameter.

Items

Items10Value

Ball

A sphere.

Block

A rectangular solid. The default part shape.

Cylinder

A cylinder along the local X axis.

Wedge

A wedge with one sloped face.

CornerWedge

A wedge sloped along two axes.

Truss

A climbable lattice.

Prism

A triangular prism.

Pyramid

A four-sided pyramid filling the bounding box.

Ramp

A ramp whose slope runs the full length of the part.

InvertedRamp

A ramp with the slope reversed.

Example

Luau
local ball = Instance.new("Part")
ball.Shape = Enum.PartType.Ball
ball.Size = Vector3.new(4, 4, 4)

Part · BasePart · Vector3