Phaser API Documentation

  Version: 

Member of: Phaser.Structs.List

moveAbove(child1, child2)

Description:

Moves the given array element above another one in the array.

Parameters:

name type description
child1 *

The element to move above base element.

child2 *

The base element.

Since: 3.55.0
Source: src/structs/List.js (Line 361)