Implemented nearestAvatarToBall auto-selection