Component.BringToTop#sendToBack()

sendToBack() → {PIXI.DisplayObject}

Sends this Game Object to the bottom of its parents display list.
Visually this means it will render below all other children in the same Group.

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

Returns
PIXI.DisplayObject -

This instance.

Source code: gameobjects/components/BringToTop.js (Line 45)
doc_phaser
2017-02-14 10:42:28
Comments
Leave a Comment

Please login to continue.