Draw a line between two objects like connect the dots

There’s a part on a Wishforge tutorial where he creates a rope swing. It may be useful for you to learn how to position the line correctly