# Shape.getMass

Returns the mass of a shape.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Parameters:**

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

**Returns:**

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