Sub SetSpriteZ(sprite, z)

Sets the drawing priority for sprites.

Note: Sprites with a higher Z order are drawn first and those with lower values will be drawn on top


Related: SpriteZ