Why is one point skipped in my Anemone looped closest-point path?

Hey everyone!

I’m creating a path between points using Anemone and Closest Point.
Each step should find the nearest unused point and build a polyline through them.

But one point is always left unconnected at the end - even though the loop runs almost all the way through.

I also looked through some posts here, one of them was close but worked with script 3, what I want to avoid.

Here is my setup (credits to “the different design” on youtube, I used one of the anemone tutorials):

Thank you!

difficult to say by just looking at screenshots :slight_smile: please attach your gh file

I found a solution for my issue, I changed the number of the D1 from the Loop Start and it worked again.