# sm.render.getDrawDistance

Gets the draw distance.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.render.getDrawDistance(  )
```

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

**Availability:** Client only

**Returns:**

| Type | Description |
| --- | --- |
| number | The draw distance. |
