> For the complete documentation index, see [llms.txt](https://ferdowsur.gitbook.io/3d-ranks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ferdowsur.gitbook.io/3d-ranks/spawn-animations.md).

# Spawn Animations

Animations that are played on the root of the object.

It is the animator with the controller called "Rank Container", which is located at the main Game Object with the Ranks Animation Controller script attached. When the game object is enabled, this animation is played.&#x20;

<figure><img src="https://96267253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP4h0q7qUXVTnCbRAstH%2Fuploads%2FJHQsApN2pd0l1OvILH7x%2FBase%20Animation.png?alt=media&amp;token=3e22737b-acc8-4647-b802-a68ccf07f9f9" alt="" width="350"><figcaption></figcaption></figure>

The default animation at index 0 is no animation, and 1 is the breathing animation.

You can test the animations in play mode using the buttons below.

{% content-ref url="/pages/vrsh7QFJmR0Es3xfb3fs" %}
[Create New Spawn Animation](/3d-ranks/spawn-animations/create-new-spawn-animation.md)
{% endcontent-ref %}

## Script Reference

You can use the PlaySpawnAnimation method to play it via code or buttons.

```csharp
ranksAnimationController.PlaySpawnAnimation(i);
```
