# Body.getMass

Returns the mass of a body.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Parameters:**

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

**Returns:**

| Type | Description |
| --- | --- |
| number | The body's mass. |
