TilemapLayer#bringToTop()

bringToTop() → {PIXI.DisplayObject}

Brings this Game Object to the top of its parents display list.
Visually this means it will render over the top of any old child in the same Group.

If this Game Object hasn't been added to a custom Group then this method will bring it to the top of the Game World,
because the World is the root Group from which all Game Objects descend.

Returns
PIXI.DisplayObject -

This instance.

Inherited From
Source code: gameobjects/components/BringToTop.js (Line 24)
doc_phaser
2017-02-14 11:15:49
Comments
Leave a Comment

Please login to continue.