sprite and exit item delete function