---
title: allowsMultipleSelection
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsopenpanel/allowsmultipleselection
---

# allowsMultipleSelection

A Boolean that indicates whether the user may select multiple files and directories.

## Declaration

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

## Discussion

Discussion When the value of this property is true, the user may select multiple items from the browser. When the selection contains multiple items, use the urls property to retrieve those items instead of the inherited url property.

## See Also

### Configuring the Open Panel

- [canChooseFiles](appkit/nsopenpanel/canchoosefiles.md)
- [canChooseDirectories](appkit/nsopenpanel/canchoosedirectories.md)
- [resolvesAliases](appkit/nsopenpanel/resolvesaliases.md)
- [isAccessoryViewDisclosed](appkit/nsopenpanel/isaccessoryviewdisclosed.md)
