Arma 3 Scripting

Command in GUI Control - Positioning

pixelW

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

Description

Returns width of one pixel for current resolution.

Syntax

pixelW

Returns: Number - pixel width

Examples

Example 1

_pixelWidth = pixelW;

See also

pixelGrid · pixelGridBase · pixelGridNoUIScale · pixelH · Pixel Grid System