<!--
{
  "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/FromToByAnimation/init(jointNames:name:isScaleAnimated:isRotationAnimated:isTranslationAnimated:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNames4name15isScaleAnimated0l8RotationN00l11TranslationN04from2to2by8duration6timing0L8Additive10bindTarget10blendLayer10repeatMode8fillMode9trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SSS3bAESgA1_A1_SdAA0F14TimingFunctionVSbAA04BindX0OSgs5Int32VAA0F10RepeatModeOAA0F8FillModeVSdSgA13_A13_S2dSftcfc"
  },
  "title" : "init(jointNames:name:isScaleAnimated:isRotationAnimated:isTranslationAnimated:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"
}
-->

# init(jointNames:name:isScaleAnimated:isRotationAnimated:isTranslationAnimated:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)

Creates an animation that interpolates between two configurations of the
given joints.

```
init(jointNames: [String], name: String = "", isScaleAnimated: Bool = true, isRotationAnimated: Bool = true, isTranslationAnimated: Bool = true, from: Value? = nil, to: Value? = nil, by: Value? = nil, duration: TimeInterval = 1.0, timing: AnimationTimingFunction = .linear, isAdditive: Bool = false, bindTarget: BindTarget? = nil, blendLayer: Int32 = 0, repeatMode: AnimationRepeatMode = .none, fillMode: AnimationFillMode = [], trimStart: TimeInterval? = nil, trimEnd: TimeInterval? = nil, trimDuration: TimeInterval? = nil, offset: TimeInterval = 0, delay: TimeInterval = 0, speed: Float = 1.0)
```

## Parameters

`jointNames`

The names of the joints in the animated skeletal pose.

`name`

A unique name for the animation.

`isScaleAnimated`

A Boolean value that indicates whether that animation
interpolates changes to the target’s size.

`isRotationAnimated`

A Boolean value that indicates whether that
animation interpolates rotational changes.

`isTranslationAnimated`

A Boolean value that indicates whether that
animation interpolates changes to the target object’s position.

`from`

The state of the target object’s joints before the animation starts.

`to`

The state of the target object’s joints after the animation finishes.

`by`

An amount that increments the animated joints during the animation.

`duration`

The total playback time.

`timing`

An option that determines the animation’s pace over time.

`isAdditive`

A Boolean value that indicates whether the animation
blends additively with concurrent animations.

`bindTarget`

A textual name that identifies the particular property that animates.

`blendLayer`

The order in which the framework composites the animation into the view.

`repeatMode`

An option that determines how the animation repeats.

`fillMode`

The playback behavior outside of the normal duration.

`trimStart`

The optional time, in seconds, at which the animation plays.

`trimEnd`

The optional time, in seconds, at which the animation stops.

`trimDuration`

An optional duration that overrides the calculated duration.

`offset`

The time, in seconds, at which the animation begins within the duration.

`delay`

An amount of time that elapses before the animation plays.

`speed`

A factor that increases or decreases the animation’s rate of playback.

---

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)