---
title: name
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/animationresource/name
---

# name

The name of the animation resource.

## Declaration

```swift
@MainActor @preconcurrency final let name: String?
```

## Discussion

Discussion You can get an AnimationPlaybackController instance ready to play a particular resource that you reference by its name using the playAnimation(named:transitionDuration:startsPaused:) method.

## See Also

### Inspecting animation information

- [definition](realitykit/animationresource/definition.md)
- [AnimationFillMode](realitykit/animationfillmode.md)
