---
title: offset
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/fromtobyanimation/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. If you set a value for this property, the animation plays immediately, beginning at the specified time.

## See Also

### Timing the animation

- [speed](realitykit/fromtobyanimation/speed.md)
- [delay](realitykit/fromtobyanimation/delay.md)
- [duration](realitykit/fromtobyanimation/duration.md)
- [timing](realitykit/fromtobyanimation/timing.md)
- [trimDuration](realitykit/fromtobyanimation/trimduration.md)
- [trimStart](realitykit/fromtobyanimation/trimstart.md)
- [trimEnd](realitykit/fromtobyanimation/trimend.md)
