# Body.setConnectable

Controls whether a body is connectable

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `body` | [Body](../Game-Script-Environment/Userdata/Body.md) | The body. |
| `value` | boolean | Whether the body is connectable. |
