Arma 3 Scripting

Command in GUI Control - Positioning

pixelGrid

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns grid size based on screen resolution, UI size and configs: uiScaleFactor, uiScaleMaxGrids.

Syntax

pixelGrid

Returns: Number - grid size, see Arma 3: Pixel Grid System

Examples

Example 1

private _gridHeight = pixelH * pixelGrid;

See also

pixelGridBase · pixelGridNoUIScale · pixelH · pixelW · Pixel Grid System