# Body.getCenterOfMassPosition

Returns the center of mass world position of a body.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
body:getCenterOfMassPosition(  )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `body` | [Body](../Game-Script-Environment/Userdata/Body.md) | The body. |

**Returns:**

| Type | Description |
| --- | --- |
| [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The body's center of mass world position. |
