# sm.shape.createPart

Create a new part

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.shape.createPart( uuid, position, rotation, dynamic?, forceSpawn?, world? )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.shape.md#createpart)

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `uuid` | [Uuid](../Game-Script-Environment/Userdata/Uuid.md) | The uuid of the shape. |
| `position` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The shape's world position. |
| `rotation` | [Quat](../Game-Script-Environment/Userdata/Quat.md) | The shape's world rotation. Defaults to no rotation (Optional) |
| `dynamic` *(optional)* | boolean | Set true if the shape is dynamic or false if the shape is static. Defaults to true (Optional) |
| `forceSpawn` *(optional)* | boolean | Set true to force spawn the shape even if it will cause collision. Defaults to true (Optional) |
| `world` *(optional)* | [World](../Game-Script-Environment/Userdata/World.md) | The world to create the part in. Uses the script's world by default. (Optional) |

**Returns:**

| Type | Description |
| --- | --- |
| [Shape](../Game-Script-Environment/Userdata/Shape.md) | The created part |
