# Joint.setColor

Sets the color of a joint.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
joint:setColor( color )
```

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `joint` | [Joint](../Game-Script-Environment/Userdata/Joint.md) | The joint. |
| `color` | [Color](../Game-Script-Environment/Userdata/Color.md) | The new color. |
