Identify an enemy in Bucle + Type (code provided)

Blitz3D Forums/Blitz3D Programming/Identify an enemy in Bucle + Type (code provided)

Wouldn't you compare the mouse position to the current position of each enemy, and take the energy from the one that 'matches'?