<!--
{
  "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/AnimationStateProtocol/defaultTarget",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation22AnimationStateProtocolP13defaultTarget9ValueTypeQzSgvp"
  },
  "title" : "defaultTarget"
}
-->

# defaultTarget

The default unanimated value of the target.

```
var defaultTarget: Self.ValueType? { get }
```

## Discussion

The default target is the snapshot value of the animation target at the time
the animation first plays. The system takes a snapshot of the animation target’s value
before starting the new animation. This is controlled by setting different
handoff behaviors when the animation is played.

If no snapshot was taken, `defaultTarget` will be the unanimated value
when playback uses `separateAnimatedValue: true`.

Setting `separatedAnimatedValue: true`
directs the animation system to maintain the unanimated value.

Otherwise, if there is no snapshot, and the unanimated value is not maintained,
`defaultTarget` will be 0 or identity depending on the target’s type.

---

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)