Phaser API Documentation

  Version: 

Member of: Phaser.Structs.List

removeBetween([startIndex], [endIndex], [skipCallback])

Description:

Removes the items within the given range in the List.

Parameters:

name type arguments Default description
startIndex number <optional> 0

The index to start removing from.

endIndex number <optional>

The position to stop removing at. The item at this position won't be removed.

skipCallback boolean <optional> false

Skip calling the List.removeCallback.

Returns:
Description:

An array of the items which were removed.

Type:
  • Array.<*>
Since: 3.0.0
Source: src/structs/List.js (Line 411)