# sm.game.getEnableRestrictions

Returns true if restrictions are enabled and false if restrictions are disabled.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.game.getEnableRestrictions(  )
```

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

**Returns:**

| Type | Description |
| --- | --- |
| boolean | The enable state. |
