# sm.jsonGui.getViewSize

Returns the size of the window in 720 coords.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.jsonGui.getViewSize(  )
```

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

**Availability:** Client only

**Returns:**

| Type | Description |
| --- | --- |
| integer<br>integer | The view size as width and height. |
