---
title: currentTime
framework: corehaptics
role: symbol
role_heading: Instance Property
path: corehaptics/chhapticengine/currenttime
---

# currentTime

The absolute time, in seconds, to use for scheduling haptic and audio events.

## Declaration

```swift
var currentTime: TimeInterval { get }
```

## Discussion

Discussion This time applies to all haptic and audio events sent to and managed by the Core Haptics engine. Use the current time as a way to determine or track the start times of haptic and audio events, created as CHHapticEvent objects. It corresponds to the relativeTime and duration properties of haptic events. note: The Core Haptics engine time doesn’t correlate to time used in media playback classes from other frameworks, such as AVAudioPlayer.

## See Also

### Getting the Current Media Time

- [CHHapticTimeImmediate](corehaptics/chhaptictimeimmediate.md)
