Without families using pick nth instance should work also:
System -> Pick nth Instance
If 2 instances collide, picking instance 0 will pick the first instance and instance 1 will pick the 2nd instance
ON collision bouncingBall with bouncingball
Pick instance 0 ... do whatever
Pick instance 1 .. do whatever
if on pick instance 0 you set two variables to CollisionX = bouncingball.x, CollisionY = bouncingball.y
then on pick instance 1 you can use your code
System - create object sparkle on layer 1 at abs(CollisionX-bouncingBall.X),abs(CollisionY-bouncingBall.y)