CollideImage Function?

BlitzMax Forums/BlitzMax Beginners Area/CollideImage Function?

How does it identify what object it last hit?

Lets say I make a group of blocks and assign them a layer of 0.

Lets say the ball hits something in 0 layer.. How does this ball know which unit in the block list it hit? How?