---
title: "storeAnimatedValue(_:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/animationstateprotocol/storeanimatedvalue(_:)"
---

# storeAnimatedValue(_:)

Stores the action’s animated value, which the animation manager uses to produce a final animated result. Returns true on success, otherwise false.

## Declaration

```swift
@discardableResult func storeAnimatedValue<ValueType>(_ value: ValueType) -> Bool
```
