Phaser API Documentation

  Version: 
bringToTop(child)

Description:

Brings the given Game Object to the top of this Container. This will cause it to render on-top of any other objects in the Container.

Parameters:

name type description
child Phaser.GameObjects.GameObject

The Game Object to bring to the top of the Container.

Returns:
Description:

This Container instance.

Since: 3.4.0