Hover your mouse over a sprite. You should see what sprite you were last touching. Now look inside the code. I bet that the way I did it wasn't the way you'd expect I'd do it