height property

int height
getter/setter pair

The current height of the game canvas in pixels.

This value is updated when the canvas resizes. See onResize.

Implementation

int height = 0;