---
title: "pause(atTime:)"
framework: corehaptics
role: symbol
role_heading: Instance Method
path: "corehaptics/chhapticadvancedpatternplayer/pause(attime:)"
---

# pause(atTime:)

Pauses the haptic player during playback.

## Declaration

```swift
func pause(atTime time: TimeInterval) throws
```

## Parameters

- `time`: The time in the haptic pattern at which to pause playback.

## See Also

### Controlling Playback

- [resume(atTime:)](corehaptics/chhapticadvancedpatternplayer/resume(attime:).md)
- [seek(toOffset:)](corehaptics/chhapticadvancedpatternplayer/seek(tooffset:).md)
