# Character.bindAnimationCallback

Binds a character's animation to a callback function.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
character:bindAnimationCallback( animationName, triggerTime, callback )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `character` | [Character](../Game-Script-Environment/Userdata/Character.md) | The character. |
| `animationName` | string | The name of the animation. |
| `triggerTime` | number | The required time that will have elapsed in the animation when the callback is triggered. |
| `callback` | string | The name of the Lua function to bind. |
