Dev - Lua Libraries
Lua Command: s3sprite.setOrder
Parameters
Return Values
void
- no return valuesSignature
Description
Sets the rendering order (and optionally also the sorting layer) of the sprite with the given spriteID. The order of newly created sprites is 0 unless specified otherwise. A higher order means that the sprite is rendered later. This means that sprites with high IDs cover sprites with lower IDs.