# sm.gui.createOreCrusherContainerGui

Create a ore crusher container GUI.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.gui.createOreCrusherContainerGui( destroyOnClose=false )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.gui.md#createorecrushercontainergui)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `destroyOnClose=false` | boolean | If true the gui is destroyed when closed, otherwise the gui can be reused. |

**Returns:**

| Type | Description |
| --- | --- |
| [GuiInterface](../Game-Script-Environment/Userdata/GuiInterface.md) | The gui interface to the created gui. |
