Phaser API Documentation

  Version: 

Member of: Phaser.Utils.Array

<static> MoveDown(array, item)

Description:

Moves the given array element down one place in the array. The array is modified in-place.

Parameters:

name type description
array array

The input array.

item *

The element to move down the array.

Returns:
Description:

The input array.

Type:
  • array
Since: 3.4.0