If you select balloon object there is a condition 'on destroyed' which triggers when the object is destroyed. You select the pinned object and there is another condition 'pick nearest', you can combine this with the destroyed condition, pick nearest pinned object to balloon.x,balloon.y (balloon is already picked by destroyed condition)