---
title: currentTime
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nssound/currenttime
---

# currentTime

The sound’s playback progress, in seconds.

## Declaration

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

## Discussion

Discussion Sounds start with currentTime == 0 and end with currentTime == ([<sound> duration] - 1). This property is not archived, copied, or stored on the pasteboard.

## See Also

### Related Documentation

- [duration](appkit/nssound/duration.md)

### Configuring Sounds

- [name](appkit/nssound/name-swift.property.md)
- [NSSound.Name](appkit/nssound/name-swift.typealias.md)
- [setName(_:)](appkit/nssound/setname(_:).md)
- [volume](appkit/nssound/volume.md)
- [loops](appkit/nssound/loops.md)
- [playbackDeviceIdentifier](appkit/nssound/playbackdeviceidentifier-swift.property.md)
- [NSSound.PlaybackDeviceIdentifier](appkit/nssound/playbackdeviceidentifier-swift.typealias.md)
