src code

instance property Component#height

Component#height → Number

The height of the Component. This is a readable and writable property. That is, if you would like to reize the Component, you could try something like:

this.height = Screen.height;

To set the height of this Component to the current height of the game screen.