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

# delay

An amount of time that elapses before the animation plays.

```
var delay: TimeInterval { get set }
```

## Discussion

The default value is `0`, which indicates that the animation plays with
no delay. If you set a value for this property, the animation plays from
its start time after the specified delay lapses.

During the delayed time, the animation doesn’t update. However, to fill
the delayed time with some portion of animation, set a negative
[`trimStart`](/documentation/RealityKit/FromToByAnimation/trimStart) instead and choose a
[`fillMode`](/documentation/RealityKit/FromToByAnimation/fillMode) that displays the desired portion of
animation.

---

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)