<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/BindableValue/init(_:animatedValue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation13BindableValueV_08animatedD0ACyxGx_xSgtcfc"
  },
  "title" : "init(_:animatedValue:)"
}
-->

# init(_:animatedValue:)

Creates a bindable value.

```
init(_ value: T, animatedValue: T? = nil)
```

## Parameters

`value`

A value that reflects the state of the animated property before or after an animation.

`animatedValue`

A value that represents the state of the animated
property as an animation progresses.

---

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)