# Tool.updateAnimation

Updates a third person view animation.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
tool:updateAnimation( name, time, weight? )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `tool` | [Tool](../Game-Script-Environment/Userdata/Tool.md) | The tool. |
| `name` | string | The animation name. |
| `time` | number | The time. |
| `weight` *(optional)* | number | The weight. (Defaults to -1.0) |
