# Body.getWorld

Returns the world a body exists in.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Parameters:**

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

**Returns:**

| Type | Description |
| --- | --- |
| [World](../Game-Script-Environment/Userdata/World.md) | The world the body exists in. |
