Phaser API Documentation

  Version: 

Member of: Phaser.Structs.List

moveUp(child)

Description:

Moves the given child up one place in this group unless it's already at the top.

Parameters:

name type description
child *

The item to move up.

Returns:
Description:

The item which was moved.

Type:
  • *
Examples:
Since: 3.0.0
Source: src/structs/List.js (Line 527)