display_get_width - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

NOTOC {{-}}

Notation

Description

Retrieves the width of the display in pixels.

Parameters

none

Return Values

Returns the width of the display as an integer.

Example Call

show_message("Your screen is " + string(display_get_width()) + " pixels wide!");
⚠️ **GitHub.com Fallback** ⚠️