# SpriteAnimationEvent

> Talos next · Since next

A bus event a sprite animation raises each time it reaches one of its frames.

## Fields

| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
| `frame` | `number` | yes |  |  | Which entry of the animation's `frames` raises it, counting from 0: a whole number below their count. |
| `name` | `string` | yes |  |  | The bus event raised each time the entry starts to show, not empty, with `{ entity, animation, frame }`, as the `animation-end` event is. Not on a frame shown with `ctx.sprite.frame`. |
