# GuiInterface.setMeshPreview

Sets a mesh preview to display an item from uuid

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
guiInterface:setMeshPreview( widgetName, uuid )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/GuiInterface.md#setmeshpreview)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `gui` | [GuiInterface](../Game-Script-Environment/Userdata/GuiInterface.md) | The Gui interface |
| `widgetName` | string | The name of the widget |
| `uuid` | [Uuid](../Game-Script-Environment/Userdata/Uuid.md) | The item uuid to display |
