<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/EntityAction/animatedValueType",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation12EntityActionP17animatedValueTypeAA14AnimatableData_pXpSgvp"
  },
  "title" : "animatedValueType"
}
-->

# animatedValueType

A value that defines the type that the action animates,
if the action animates a target value.

```
var animatedValueType: (any AnimatableData.Type)? { get }
```

## Discussion

In your implementation, return a type that matches the
action animation’s bind target.

For example if the action animates a [`Transform`](/documentation/RealityKit/Transform),
return `Transform.self` in your implementation,
and set the action animation’s bind target to  [`BindTarget.transform`](/documentation/RealityKit/BindTarget/transform)
when creating an [`AnimationResource`](/documentation/RealityKit/AnimationResource) with `AnimationResource.makeActionAnimation(...)`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)