Phaser API Documentation

  Version: 
getParentBounds()

Description:

Calculates the size of the parent bounds and updates the parentSize component, if the canvas has a dom parent.

Returns:
Description:

true if the parent bounds have changed size, otherwise false.

Type:
  • boolean
Since: 3.16.0