phaser - v3.90.0
    Preparing search index...
    • Returns the unrotated bounds of the Game Object as a rectangle.

      Parameters

      • gameObject: GameObject

        The Game Object to get the bounds value from.

      • Optionaloutput: object | Geom.Rectangle

        An object to store the values in. If not provided a new Rectangle will be created.

      Returns object | Geom.Rectangle