> For the complete documentation index, see [llms.txt](https://docs.bueno.art/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bueno.art/generator/advanced-tutorials/animation/animating-with-figma.md).

# Animating with Figma

Before you begin, be sure you review how to set up your [Figma files for Bueno](/generator/asset-management/preparing-your-assets/preparing-with-figma.md) and how to use the [Bueno plugin for Figma](/generator/asset-management/preparing-your-assets/preparing-with-figma.md#how-to-install-and-use-the-bueno-plugin-for-figma).

To animate, you need to nest a component with variants inside the component variant that you want to animate. Each variant in your nested component group will be a frame of your animation. Sounds, confusing, we know, but it’s actually pretty simple!

For example, if you want to animate one of your eye variants, you’ll need to nest a component with variants within that eye variant.

So, how do we create a component within a component? First, pull the illustration you’d like to animate out of its parent component variant slot. Remember, you’re just moving the illustration here, so the empty variant slot should still sit in the parent component set.

![](https://assets-global.website-files.com/6171adb6a942ed69f5e6b5ee/6205865e6b48b29a7ba0cfdc_CleanShot%202022-02-10%20at%2011.58.42%402x.png)

Next, turn the illustration into a component by selecting the illustration and then selecting the component button at the top of the menu. It looks like 4 diamonds clustered together.

![](https://assets-global.website-files.com/6171adb6a942ed69f5e6b5ee/620587046f19f6474de26f1c_CleanShot%202022-02-10%20at%2011.59.35%402x.png)

Now, you’ll need to create your animation frames as variants in your new component. To add your first variant, select the + sign next to “Variants” in the Design menu on the right.

![](https://assets-global.website-files.com/6171adb6a942ed69f5e6b5ee/62058724a65eb8b86dc72e6e_CleanShot%202022-02-10%20at%2012.05.56%402x.png)

Once your first variant has been added, you can create additional variants by selecting the component and hitting the + sign at the bottom right of the frame. t will appear when you hover over the corner with your mouse.

Make sure that you name each of your frame variants in numeric order, so Bueno can put them in the correct order when you upload. The animations should be in 2, 4, 8, or 16 frames, so they’re perfect loops.

![](https://assets-global.website-files.com/6171adb6a942ed69f5e6b5ee/6205874efd999d0c032462d5_CleanShot%202022-02-10%20at%2010.48.58%402x.png)

Once you’ve created all your animation frame variants, you can insert an instance of your animation back into the variant slot by copying and pasting one of the frames into the slot. You’ll know you’ve done it correctly if there is an empty diamond next to the nested component layer.

![](https://assets-global.website-files.com/6171adb6a942ed69f5e6b5ee/6205876d967dc8570747f900_CleanShot%202022-02-10%20at%2011.54.10%402x.png)

Export your files with the Bueno NFT Exporter plugin, and upload! Bueno will automatically animate your traits.

**Note: All animation frames must have the same frame size, or Bueno will not animate.**

The default frame rate is very slow. You can control the frame rate from the settings tab, under **artwork settings**.

![](/files/jcFvhvKZqSABPfENSROw)

### Watch our step-by-step video tutorial below:

{% embed url="<https://www.loom.com/share/aa5e770d78364bd18e1e476b02f924a2>" %}

[**Get the** **Figma Demo File** ](https://www.figma.com/community/file/1066896710174092856/Character-Experiment)and practice along with the tutorial!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.bueno.art/generator/advanced-tutorials/animation/animating-with-figma.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
