# JsonGui.setHidden

Sets desired visibility of the gui.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
jsonGui:setHidden( hidden )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `gui` | [JsonGui](../Game-Script-Environment/Userdata/JsonGui.md) | The gui. |
| `hidden` | boolean | True if the gui should be hidden. |
