---
title: animations
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/animationlibrarycomponent/animations
---

# animations

The collection of animations an entity can play.

## Declaration

```swift
var animations: AnimationLibraryComponent.AnimationCollection
```

## See Also

### Accessing animations

- [unkeyedResources](realitykit/animationlibrarycomponent/unkeyedresources.md)
- [defaultAnimation](realitykit/animationlibrarycomponent/defaultanimation.md)
- [defaultKey](realitykit/animationlibrarycomponent/defaultkey.md)
