# Editor.Asset.GetAssetThumb

```csharp
Pixmap GetAssetThumb(bool generateIfNotInCache = True)
```

Returns the asset preview thumbnail, with fallback to the asset type icon if there is no preview.

### Parameters

- `generateIfNotInCache` (`bool`), default `True`

### Returns

`Pixmap`

Declared in [Editor.Asset](/api/Editor.Asset).
Assembly: `Sandbox.Tools`.
