# Tool.updateFpAnimation

Updates a first person view animation.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Client only

**Parameters:**

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