# sm.gui.hideGui

Set gui visibility.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.gui.hideGui( visible )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `visible` | boolean | The gui visibility |
