---
title: relativeTime
framework: corehaptics
role: symbol
role_heading: Instance Property
path: corehaptics/chhapticevent/relativetime
---

# relativeTime

The start time of the event, relative to other events in the same pattern.

## Declaration

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

## Discussion

Discussion A relativeTime of zero indicates immediate playback. Another haptic event starting one second later would have a relativeTime of 1.

## See Also

### Configuring Haptic Events

- [eventParameters](corehaptics/chhapticevent/eventparameters.md)
- [CHHapticEvent.ParameterID](corehaptics/chhapticevent/parameterid.md)
- [duration](corehaptics/chhapticevent/duration.md)
