SpriteDisplay.clear clears all sprites from the display (resetting .sprites to an empty list). It also resets .scrollX and .scrollY to zero.
SpriteDisplay.clear
display(4).mode = displayMode.sprite disp = display(4) disp.clear