---
title: AnimationLibraryComponent.AnimationCollection.Index
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/animationlibrarycomponent/animationcollection/index
---

# AnimationLibraryComponent.AnimationCollection.Index

An object that represents a position in the collection.

## Declaration

```swift
struct Index
```

## Topics

### Operators

- [<(_:_:)](realitykit/animationlibrarycomponent/animationcollection/index/_(_:_:).md)

## Relationships

### Conforms To

- [Comparable](swift/comparable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Manipulating indices

- [startIndex](realitykit/animationlibrarycomponent/animationcollection/startindex.md)
- [endIndex](realitykit/animationlibrarycomponent/animationcollection/endindex.md)
- [index(after:)](realitykit/animationlibrarycomponent/animationcollection/index(after:).md)
- [formIndex(after:)](realitykit/animationlibrarycomponent/animationcollection/formindex(after:).md)
