# GetManagedSpriteSortedCount

## Description

Returns the number of sprites that the internal sprite manager had to sort into their correct positions since the last frame. Sprites only need resorting if they change depth or texture during the current frame. You can control how mush sorting is done with the commands SetSortTextures, SetSortDepth, and SetSortTransparentDepth.

## Definition

integer GetManagedSpriteSortedCount()

UINT agk::GetManagedSpriteSortedCount()