---
title: "Part"
description: "The general-purpose physical building block in Glorpia."
canonical: "https://docs.glorpia.com/instances/part"
markdown: "https://docs.glorpia.com/instances/part.md"
---
# Part

The general-purpose physical building block in Glorpia.

**Category:** Instances

## Inheritance

`Part` is a `BasePart`, so it uses all BasePart transform, geometry, appearance and physics properties.

- [BasePart properties](https://docs.glorpia.com/instances/basepart.md) — Position, Size, CFrame, Shape, Bevel, Colour, Anchored, CanCollide and more.

## Defaults when created by script

| Name | Type | Description |
| --- | --- | --- |
| `Size` | Vector3 | 4, 1, 2 |
| `Shape` | Enum.PartShape | Block |
| `Bevel` | number | 0 |
| `ShadeSmooth` | boolean | true |
| `Detail` | integer | 8 |
| `Anchored` | boolean | true |
| `CanCollide` | boolean | true |

## Shapes

Parts support Block, Ball, Cylinder, Wedge and CornerWedge geometry through `Shape`.

```luau
local wedge = Instance.new("Part")
wedge.Shape = Enum.PartShape.CornerWedge
wedge.Size = Vector3.new(6, 4, 6)
wedge.Parent = workspace
```

## Example: Create A Platform

Create the Part first, configure it while it is unparented, then parent it into Workspace.

```luau
local platform = Instance.new("Part")
platform.Name = "Platform"
platform.Size = Vector3.new(12, 1, 8)
platform.Position = Vector3.new(0, 4, 0)
platform.Colour = Colour3.fromRGB(90, 120, 255)
platform.Anchored = true
platform.Parent = workspace
```
