# Lottie Sprite

The **Lottie Sprite Object** is **Incari's** way of allowing the user to incorporate *Lottie* animations into a *User Interface*.

To create a **Lottie Sprite Object**, simply click the plus icon at the top of the **Scene Outliner** or right-click in the **Scene Outliner**, hover over `Create`, and locate **Lottie Sprite Object**.

![Create Lottie Sprite Object with Plus Icon.](/files/RrmqerPNHuCGT8vy92lT) ![Create Lottie Sprite Object with Right-Click and Create.](/files/RmXyfY5L2DqbMqCVT7tf)

While the **Lottie Sprite Object** has several **Attributes** that alter its visual aspects, the most important is the `File` under `Lottie`. Here the user can select a `.lottie` file that has been placed in the **Asset Folder** of the **Project**.

![Lottie Sprite before Adding Asset.](/files/2vNGqu1tIfBHmlPhM076)

Above, the `File` **Attribute** has been highlighted for the **Lottie Sprite Object**. This is where the user can select the appropriate file after activating the pop-up Menu.

For now, there are two options when choosing a file for the **Lottie Sprite Objects**. The user can use a *Lottie JSON* file and rename it from `FileName.json` to `FileName.lottie`. Or the user can use a compressed *Lottie* file, uncompress it, and then rename it from `FileName.json` to `FileName.lottie`.

Beware of assuming a compressed *Lottie* file with a `.lottie` extension is compatible with **Incari Studio**. Please uncompress it first and rename it after.

![Lotte Sprite after Adding Asset.](/files/bXz7D7hUirvOfpQcLzD0)

When the *.lottie* file is selected, it is displayed in the **Viewport** as a preview of the animation, which can be played, paused, and stopped with the respective buttons under `Simulation Preview`.

There are several **Nodes** that are attributed to **Lottie Sprite Objects**. More information can be found [here](/incari-studio/2022.2/toolbox/incari/lottie.md) and [here.](/incari-studio/2022.2/toolbox/events/lottie.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/2022.2/objects-and-types/scene-objects/lottie-sprite.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.
