# sm.gui.widget.destroy

Removed!

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.gui.widget.destroy(  )
```

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

> **Deprecated:**
> Use [GuiInterface](../Game-Script-Environment/Userdata/GuiInterface.md)
>
