Phaser API Documentation

  Version: 

Member of: Phaser.Utils.Array

<static> SendToBack(array, item)

Description:

Moves the given element to the bottom of the array. The array is modified in-place.

Parameters:

name type description
array array

The array.

item *

The element to move.

Returns:
Description:

The element that was moved.

Type:
  • *
Since: 3.4.0