# Body.createPart

Create a part on body

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
body:createPart( uuid, position, z-axis, x-axis, forceAccept? )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Body.md#createpart)

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `body` | [Body](../Game-Script-Environment/Userdata/Body.md) | The parent body. |
| `uuid` | [Uuid](../Game-Script-Environment/Userdata/Uuid.md) | The uuid of the shape. |
| `position` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The shape's local position. |
| `z-axis` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The shape's local z direction. |
| `x-axis` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The shape's local x direction. |
| `forceAccept` *(optional)* | boolean | Set true to force the body to accept the shape. (Defaults to true) |

**Returns:**

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