# Interactable.setAnimEnabled

Sets whether the animation with the given name should be applied to the mesh. True enables the animation and false disables it.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
interactable:setAnimEnabled( name, enabled )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `interactable` | [Interactable](../Game-Script-Environment/Userdata/Interactable.md) | The interactable. |
| `name` | string | The name of the animation. |
| `enabled` | boolean | The boolean enable state. |
