DisplayObjectContainer#swapChildren()

swapChildren(child, child2)

Swaps the position of 2 Display Objects within this container.

Parameters
Name Type Description
child DisplayObject

-

child2 DisplayObject

-

Source code: pixi/display/DisplayObjectContainer.js (Line 85)
doc_phaser
2017-02-14 10:44:56
Comments
Leave a Comment

Please login to continue.