SetSortCreated

Description

If two sprites occupy the same depth then the order they are drawn is undefined unless this function is set to 1, in which case sprites at the same depth will be drawn in the order they were created. For maximum performance it is recommended that every sprite has its own depth value with this command set to 0. If the order they are drawn is not important, for example physics sprites that won't normally overlap, then you can use sprites at the same depth without setting this command to 1.

Definition

SetSortCreated( sort )

Parameters