How to check if part is connected to another part far away?

How would I check if a part is connected to another part?

how to check if blue is connected with green?
image

Check out :GetTouchingParts, you might have to run it multiple times though and pass each touching part.

2 Likes