# Body.getCreationId

Returns the local id of the creation

**Kind:** Function

**Environments:** Game

## Game

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

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

> **Note:**
> Server and client ids will not match

**Parameters:**

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

**Returns:**

| Type | Description |
| --- | --- |
| integer | The creation's local id |
