Stage::sortByY()
Draws and runs the sprites of each layer sorted by their y position: lower sprites in front, as in a top-down game. Applies from the next tick on, until stopSorting().
Syntax
Java
.sortByY()
Return
void
Draws and runs the sprites of each layer sorted by their y position: lower sprites in front, as in a top-down game. Applies from the next tick on, until stopSorting().
.sortByY()
void