# Sandbox.Map.CreateAsync

```csharp
static System.Threading.Tasks.Task<Map> CreateAsync(string mapName, MapLoader loader, System.Threading.CancellationToken cancelToken = null)
```

### Parameters

- `mapName` (`string`)
- `loader` (`MapLoader`)
- `cancelToken` (`System.Threading.CancellationToken`), default `null`

### Returns

`System.Threading.Tasks.Task<Map>`

Declared in [Sandbox.Map](/api/Sandbox.Map).
Assembly: `Sandbox.Engine`.
