# sm.creation.exportToTable

Exports creation to blueprint lua table.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.creation.exportToTable( body, exportTransforms?, forceDynamic? )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.creation.md#exporttotable)

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `body` | [Body](../Game-Script-Environment/Userdata/Body.md) | Any body in the creation. |
| `exportTransforms` *(optional)* | boolean | Export the current world transform of bodies. Defaults to false. |
| `forceDynamic` *(optional)* | boolean | Force export to dynamic bodies. Defaults to false. |

**Returns:**

| Type | Description |
| --- | --- |
| table | The blueprint lua table. |
