Return the child lowest down the display list (with the smallest index) Will iterate through all parent containers, if present.
Prior to version 3.52.0 this method was called sortHandlerGO
.
name | type | description |
---|---|---|
childA | Phaser.GameObjects.GameObject |
The first Game Object to compare. |
childB | Phaser.GameObjects.GameObject |
The second Game Object to compare. |
Returns either a negative or positive integer, or zero if they match.