---
title: "seek(toOffset:)"
framework: corehaptics
role: symbol
role_heading: Instance Method
path: "corehaptics/chhapticadvancedpatternplayer/seek(tooffset:)"
---

# seek(toOffset:)

Jumps to the specified offset time in playing the haptic.

## Declaration

```swift
func seek(toOffset offsetTime: TimeInterval) throws
```

## Parameters

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

## See Also

### Controlling Playback

- [pause(atTime:)](corehaptics/chhapticadvancedpatternplayer/pause(attime:).md)
- [resume(atTime:)](corehaptics/chhapticadvancedpatternplayer/resume(attime:).md)
