Phaser API Documentation

  Version: 
getParentBounds()

Description:

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

Returns:
Description:

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

Type:
  • boolean
Since: 3.16.0