---
title: "store(in:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/animationresource/store(in:)"
---

# store(in:)

Adds the animation to an entity without playing it.

## Declaration

```swift
@MainActor @preconcurrency func store(in: Entity)
```

## Parameters

- `in`: The entity to which to attach the animation.
