phaser - v4.0.0-rc.4
    Preparing search index...

    Function RandomRectangle

    • Takes an array of Game Objects and positions them at random locations within the Rectangle.

      Type Parameters

      Parameters

      • items: G

        An array of Game Objects. The contents of this array are updated by this Action.

      • rect: Geom.Rectangle

        The Rectangle to position the Game Objects within.

      Returns G