Skip to content

function getResolution (client-side)

Available since version: 0.3.0

This function will return the current game resolution.

Declaration

{x, y} getResolution()

Parameters

No parameters.

Returns {x, y}

Table containing width and height.