---
title: isLoopingEnabled
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avmusictrack/isloopingenabled
---

# isLoopingEnabled

A Boolean value that indicates whether the track is in a looping state.

## Declaration

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

## Discussion

Discussion If you don’t set loopRange, the framework loops the full track.

## See Also

### Configuring the Looping State

- [loopRange](avfaudio/avmusictrack/looprange.md)
- [numberOfLoops](avfaudio/avmusictrack/numberofloops.md)
