Phaser API Documentation


Member of: Phaser.Structs.Size

height: number


The height of this Size component.

This value is clamped to the range specified by minHeight and maxHeight, if enabled.

A height can never be less than zero.

Changing this value will automatically update the width if the aspect ratio lock is enabled. You can also use the setHeight and getHeight methods.

Since: 3.16.0
Source: src/structs/Size.js (Line 692)