PixelDisplay.width

From MiniScript Wiki
Revision as of 23:37, 28 April 2020 by ZachStrout (talk | contribs) (Created page with "<c>PixelDisplay.width</c> is the number of pixel columns in the display. === Usage Notes === This is a read-only value; to change the width and height of the display, use P...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PixelDisplay.width is the number of pixel columns in the display.

Usage Notes

This is a read-only value; to change the width and height of the display, use PixelDisplay.clear.

Example

print gfx.width // prints 960 in the default state