phaser - v4.0.0-rc.4
    Preparing search index...
    • Positions the Game Object so that the center top of its bounds aligns with the given coordinate.

      Type Parameters

      Parameters

      • gameObject: G

        The Game Object that will be re-positioned.

      • y: number

        The coordinate to position the Game Object bounds on.

      Returns G