overlap lines

 

hello people, i tried to check 140 lines and merge when those be close together (lines are dynamic ), for this, i wrote two loops that execute every 1 second but still not working

 
salai: but still not working

Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button) or attach the file.
     How To Ask Questions The Smart Way. (2004)
          Be precise and informative about your problem

We can't see your broken code.

Fix your broken code.

With the information you've provided — we can only guess. And you haven't provided any useful information for that.

Reason: