gta.aspectRatio

(Redirected from Gta.aspectRatio)

Variable Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Read-Only

Available since Client 1.0.0

float gta.aspectRatio

The gta.aspectRatio variable is used to fetch the aspect ratio of the game window.

Value

float A floating point number, representing the aspect ratio of the game window.
readonly This variable cannot be changed.

Notes

There aren't any notes for this variable.

Examples

There aren't any examples for this variable.

Compatibility

There isn't any compatibility information for this variable.

Related

Client Related

      getScreenFromWorldPosition
      getWorldFromScreenPosition
        gta.aspectRatio
        gta.height
        gta.width