Phaser API Documentation

  Version: 
<readonly> isGamePortrait: boolean

Description:

Are the game dimensions portrait? (i.e. taller than they are wide)

This is different to the device itself being in a portrait orientation.

Type:
boolean
Since: 3.16.0