LineAPI Help

hi fellas…im making a small drawing tool. In lineAPI i could draw lines and could adjust the length of the line…i dont know how to move the draggers at the 2 ends when the line is moved :h:. I have attached files. i hope someone will help.

cheers. :slight_smile: