<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation13BindableValueV"
  },
  "title" : "BindableValue"
}
-->

# BindableValue

The value of a bindable target.

```
struct BindableValue<T> where T : BindableData
```

## Overview

This structure holds the value of an animatable property
([`animatedValue`](/documentation/RealityKit/BindableValue/animatedValue)), that is, the target property that
animates. In addition, the structure stores the property’s original value
([`baseValue`](/documentation/RealityKit/BindableValue/baseValue)), which represents the property’s value before
a running animation starts. The [`value`](/documentation/RealityKit/BindableValue/value) property returns the
animated value when an animation runs; when the animation isn’t running, it
returns the base value.

## Topics

### Creating a value

[`init(T, animatedValue: T?)`](/documentation/RealityKit/BindableValue/init(_:animatedValue:))

Creates a bindable value.

### Accessing the value

[`var value: T`](/documentation/RealityKit/BindableValue/value)

The main accessor for the bind value.

[`var baseValue: T`](/documentation/RealityKit/BindableValue/baseValue)

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

[`var animatedValue: T?`](/documentation/RealityKit/BindableValue/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)