You need to do this in "On start of the layout" event. Currently you re-pin these sprites on every tick, that's why it's not working.
Also, some of your ball sprites have collisions disabled and overlapping check will not work with them.
Finally, why are you using Construct 3 runtime for this game? It doesn't even support debug mode.