phaser - v4.0.0-rc.4
    Preparing search index...
    • Removes the item from the given position in the array.

      The array is modified in-place.

      You can optionally specify a callback to be invoked for the item if it is successfully removed from the array.

      Parameters

      • array: any[]

        The array to be modified.

      • index: number

        The array index to remove the item from. The index must be in bounds or it will throw an error.

      • Optionalcallback: Function

        A callback to be invoked for the item removed from the array.

      • Optionalcontext: object

        The context in which the callback is invoked.

      Returns any