---
title: "setCurrentTime(_:)"
framework: watchkit
role: symbol
role_heading: Instance Method
path: "watchkit/wkaudiofileplayeritem/setcurrenttime(_:)"
---

# setCurrentTime(_:)

Sets the playback point, measured in seconds, from the beginning of the audio file.

## Declaration

```swift
func setCurrentTime(_ currentTime: TimeInterval)
```

## Parameters

- `currentTime`: The offset of the current playback position, measured in seconds from the start of the sound.

## Discussion

Discussion Use this method to seek a specific point in a sound file or to implement fast-forward and rewind functions.

## See Also

### Managing the Playback Position

- [currentTime](watchkit/wkaudiofileplayeritem/currenttime.md)
