Using the logic that moves the sprites then at that point you could set a variable to say it 'hasMoved'. Then when you swipe, you check against a global variable, the GV being number of sprites that have variable 'hasMoved' set - for each sprites.hasMoved=true, set GV to sprites.pickedcount.