---
title: limit
framework: musickit
role: symbol
role_heading: Instance Property
path: musickit/musiclibrarysectionedrequest/limit
---

# limit

A limit for the number of items to return in the library response.

## Declaration

```swift
var limit: Int
```

## Discussion

Discussion A limit of 0 length means no limit.
