phaser - v4.0.0-rc.4
    Preparing search index...
    • Takes an array of Game Objects and positions them at random locations on the Line.

      If you wish to pass a Phaser.GameObjects.Line Shape to this function, you should pass its geom property.

      Type Parameters

      Parameters

      • items: G

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

      • line: Geom.Line

        The Line to position the Game Objects randomly on.

      Returns G