I am looking to create a curve by points and drag that points by a mouse move that is working fine for me.
But I am stuck to find the previous and next point from the