<!--
{
  "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/FromToByAction/init(from:to:timing:isAdditive:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation14FromToByActionV4from2to6timing10isAdditiveACyxGxSg_xAA23AnimationTimingFunctionVSbtcfc"
  },
  "title" : "init(from:to:timing:isAdditive:)"
}
-->

# init(from:to:timing:isAdditive:)

Creates a new action that interpolates towards a specified final value.

```
init(from: Value? = nil, to: Value, timing: AnimationTimingFunction = .linear, isAdditive: Bool = false)
```

## Parameters

`from`

Value set at the start of the animation, or `nil` to use the default source.

`to`

Value set at the end of the animation.

`timing`

Controls the progress of the animation.

`isAdditive`

A Boolean value that indicates whether the animation system additively blends
the action’s output with the base value.

## Discussion

`from` → `to` or `defaultSource` → `to`

---

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)