---
title: loops
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnaudiosource/loops
---

# loops

A Boolean value that determines whether the audio source should play repeatedly.

## Declaration

```swift
var loops: Bool { get set }
```

## Discussion

Discussion If this value is true, audio players using this source automatically begin playing again after playback has finished. If this value is false (the default), the audio source plays exactly once.

## See Also

### Setting Default Playback Parameters

- [volume](scenekit/scnaudiosource/volume.md)
- [rate](scenekit/scnaudiosource/rate.md)
- [reverbBlend](scenekit/scnaudiosource/reverbblend.md)
- [shouldStream](scenekit/scnaudiosource/shouldstream.md)
