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