How do I make a part connect two points?

Hi, everyone. I’ve been searching around for a bit, but I’ve found nothing to help my question.

If I have two points, how can I create a thin part that starts at position1 and ends at position2?

you can use an attachment on both parts and then link a beam to it

Searching for ‘part connect points’ here on the DevForum yields multiple results that would have helped you out, including: