width property

int width
getter/setter pair

The initial width in pixels.

On web: sets the canvas width. On SDL3: sets the initial window width.

Defaults to 800.

Implementation

int width;