# GuiInterface.setImage

Sets the image of an imagebox

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
guiInterface:setImage( imagebox, image )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `gui` | [GuiInterface](../Game-Script-Environment/Userdata/GuiInterface.md) | The Gui interface |
| `imagebox` | string | The name of the imagebox widget |
| `image` | string | The name or path of the image |
