# Sandbox.UI.FolderTree.SetRoots

```csharp
void SetRoots(IFileBrowserSource[] sources)
```

Replaces the top-level sources. Each root has its own paths, expansion and selection identity.

### Parameters

- `sources` (`IFileBrowserSource[]`)

Declared in [Sandbox.UI.FolderTree](/api/Sandbox.UI.FolderTree).
Assembly: `Sandbox.Engine`.
