# Tool.setMovementAnimation

Sets the current third person view movement animation to be used by the tool.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
tool:setMovementAnimation( name, animation )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `tool` | [Tool](../Game-Script-Environment/Userdata/Tool.md) | The tool. |
| `name` | string | The name. |
| `animation` | string | The animation. |
