---
title: end
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/sampledanimation/end
---

# end

An integer multiple of the frame interval at which the animation stops.

## Declaration

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

## Discussion

Discussion When calculating the visual beginning of a sampled animation, the framework first evaluates this property, and then applies the optional trimEnd, in seconds. The framework requires this property to contain an integer multiple of frameInterval. Note that the value of this property can be irrational because frame interval is of type TimeInterval.

## See Also

### Timing the animation

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