That's the thing, overlapping isn't a collision per se. It's more of a pre-collision thing. If you've ever messed about with arrays and tiles, then it's the same as that. Basically checking for adjacent tiles, but in the case with overlapping, it's pixels.