Phaser API Documentation

  Version: 

Member of: Phaser.Structs.List

bringToTop(child)

Description:

Brings the given child to the top of this List.

Parameters:

name type description
child *

The item to bring to the top of the List.

Returns:
Description:

The item which was moved.

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