How does the pixel perfect collisions work on snap? (JS)

In other words, he should just put it in Help With Snap!.