> For the complete documentation index, see [llms.txt](https://giantgrey.gitbook.io/databrain/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://giantgrey.gitbook.io/databrain/add-ons/dialogue/animation.md).

# Animation

The Dialogue Add-On can play timeline animations from Playables (Playable Director) components.\
This has the advantage that a timeline asset can control multiple different animations like Animation Clips, Audio or Camera blends (Cinemachine Virtual Cameras).&#x20;

There are two ways to start an animation:

1. You can either assign the PlayableDirectors - GameObject name to a dialogue text:

<div align="left"><figure><img src="https://2348672745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIoqF5QAgQsqxrjmTIKpE%2Fuploads%2F4TrPW5MgH2KYl2eyfgAP%2Fdialogue_playablesDialogueText.png?alt=media&amp;token=74b119e4-380e-4e8f-954c-984256c9ce4f" alt=""><figcaption><p>Plays the timeline of a PlayableDirector component with the game object name: CameraZoomToJohn</p></figcaption></figure></div>

2. Or you can use the Start Playable node in the Dialogue Graph and set the GameObject's name of the Playable Director component.

<div align="left"><figure><img src="https://2348672745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIoqF5QAgQsqxrjmTIKpE%2Fuploads%2FWSPuotoa1WKt43evhlll%2Fdialogue_startPlayableNode.png?alt=media&amp;token=8680462b-6653-4f23-8fe5-3f1f857e096a" alt=""><figcaption></figcaption></figure></div>
