# Editor.PanelWindow.PickFolder

```csharp
System.Threading.Tasks.Task<string> PickFolder(string defaultPath = null)
```

Ask the OS to pick a folder, starting at `defaultPath`. Null when the
user cancels. One dialog at a time - asking again while one is open joins the first.

### Parameters

- `defaultPath` (`string`), default `null`

### Returns

`System.Threading.Tasks.Task<string>`

Declared in [Editor.PanelWindow](/api/Editor.PanelWindow).
Assembly: `Sandbox.Tools`.
