Scratch for Java

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

sortByY()

Create Shareable URL

Select Sections