# Tool.updateCamera

Updates the third person view camera for the tool.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
tool:updateCamera( distance, fov, offset, weight )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `tool` | [Tool](../Game-Script-Environment/Userdata/Tool.md) | The tool. |
| `distance` | number | The distance. |
| `fov` | number | The fov. |
| `offset` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The offset. |
| `weight` | number | The weight. |
