# Sandbox.SandboxToolExtensions.SetFavouriteAsync

```csharp
static System.Threading.Tasks.Task SetFavouriteAsync(Package package, bool state)
```

Mark this package as a favourite

### Parameters

- `package` (`Package`)
- `state` (`bool`)

### Returns

`System.Threading.Tasks.Task`

Declared in [Sandbox.SandboxToolExtensions](/api/Sandbox.SandboxToolExtensions).
Assembly: `Sandbox.Tools`.
