Sprite Ordering
Sprites are rendered in layers, the layer is a property of the sprite component.
In this example, pressing the Flip button will flip the sprite ordering.
width: 0.8,
height: 0.8,
});
width: 1,
height: 1,
});
// Change the draw order at runtime.