---
title: offset
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/sampledanimation/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

- [frameInterval](realitykit/sampledanimation/frameinterval.md)
- [start](realitykit/sampledanimation/start.md)
- [end](realitykit/sampledanimation/end.md)
- [speed](realitykit/sampledanimation/speed.md)
- [delay](realitykit/sampledanimation/delay.md)
- [duration](realitykit/sampledanimation/duration.md)
- [trimDuration](realitykit/sampledanimation/trimduration.md)
- [trimStart](realitykit/sampledanimation/trimstart.md)
- [trimEnd](realitykit/sampledanimation/trimend.md)
