phaser - v4.0.0-rc.4
    Preparing search index...
    • Moves an element in an array to a new position within the same array. The array is modified in-place.

      Parameters

      • array: any[]

        The array.

      • item: any

        The element to move.

      • index: number

        The new index that the element will be moved to.

      Returns any