---
title: "init(_:animatedValue:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/bindablevalue/init(_:animatedvalue:)"
---

# init(_:animatedValue:)

Creates a bindable value.

## Declaration

```swift
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.
