---
title: offset
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/animationdefinition/offset
---

# offset

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

## Declaration

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

## Discussion

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 other than none, the animation fills the vacant area created by the offset according to the characteristics of the specified fill mode.

## See Also

### Timing the animation

- [speed](realitykit/animationdefinition/speed.md)
- [delay](realitykit/animationdefinition/delay.md)
- [duration](realitykit/animationdefinition/duration.md)
- [trimDuration](realitykit/animationdefinition/trimduration.md)
- [trimStart](realitykit/animationdefinition/trimstart.md)
- [trimEnd](realitykit/animationdefinition/trimend.md)
- [trimmed(start:end:duration:)](realitykit/animationdefinition/trimmed(start:end:duration:).md)
