# sm.gui.blockInGameMenu

Sets the blocking state for the in game menu.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.gui.blockInGameMenu( block )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `block` | boolean | The new blocking state for the in game menu. |
