# Play Animation

## Overview

![The Play Animation Node.](/files/-Mfh9AGPgekv6meNprH5)

![The Play Animation Block Node.](/files/-MfrYbGfxZ89fxQh7BVo)

**Play Animation** is an **Animation** **Node** used to play an **Animation** that can be used with **Pause Animation** and **Stop Animation**. Once an **Animation** is created in the **Animation Editor Module**, it can be selected in the file selector. A drop-down will appear that allows the user to choose an **Animation Block**. This will show up as a blue-colored input on the **Play Animation Node**.

### Attributes

| Attribute | Type           | Description                                                                                                                                                                                                                                                                                     |
| --------- | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `File`    | **User Input** | The selected **Animation** file created in the **Animation Editor**. The user can drag a file from their library or select a file from a file tree. The icons to the right allow the user to confirm the selection, highlight the **Asset** in the **Asset Manager**, and remove the selection. |
| `Name`    | **Drop-down**  | The specified **Animation Block** created in the **Animation Editor**. In the sample image, it is labeled **Animation Block**, but it is useful to name it in relation to the animation purpose.                                                                                                |

### Inputs

| Input             | Type           | Description                                                           |
| ----------------- | -------------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**      | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Instance ID`     | **InstanceID** | The assigned **Instance** of an **Animation Block**.                  |

### Outputs

| Output             | Type           | Description                                                                                                                            |
| ------------------ | -------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse**      | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Instance ID`      | **InstanceID** | The previously assigned **Instance** of the **Animation Block**.                                                                       |
| `OnPlay`           | **Pulse**      | Flows to additional actions following **Play Animation** if the **Animation** is currently playing.                                    |
| `OnPause`          | **Pulse**      | Flows to additional actions following **Play Animation** if the **Animation** pauses.                                                  |
| `OnStop`           | **Pulse**      | Flows to additional actions following **Play Animation** if the **Animation** ends.                                                    |

## See Also

* [**Pause Animation**](/incari-studio/2021.2/toolbox/incari/animation/pauseanimation.md)
* [**Stop Animation**](/incari-studio/2021.2/toolbox/incari/animation/stopanimation.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.incari.com/incari-studio/2021.2/toolbox/incari/animation/playanimation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
