rocinantealpha

reference / windows

width

The width of the window the code runs in, in pixels.

circle at (width / 2) (height / 2) radius 60 fill goldprint width

It prints

400
what it draws: the whole window, 400 by 300
What the example of width draws

What it is

A number, read anywhere in a sketch, never set.

Related