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

# offset

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

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

## Discussion

The default value is `0`, which indicates that the animation plays with
no offset. Setting a value for this property moves the animation data
along the timeline and doesn’t change timing. If you set a
[`fillMode`](/documentation/RealityKit/SampledAnimation/fillMode) other than [`none`](/documentation/RealityKit/AnimationFillMode/none), the
animation fills the vacant area created by the offset according to the
characteristics of the specified fill mode.

---

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)