---
title: shouldRandomizeStartTime
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/audiofileresource/configuration-swift.struct/shouldrandomizestarttime
---

# shouldRandomizeStartTime

Stores a Boolean indicating whether the playback begins from the start of the file, or from a random position.

## Declaration

```swift
var shouldRandomizeStartTime: Bool
```

## Discussion

Discussion When this property and shouldLoop are both true, only the first playback iteration begins from a random position.

## See Also

### Customizing the playback

- [shouldLoop](realitykit/audiofileresource/configuration-swift.struct/shouldloop.md)
