How do I draw a line on a Distance joint?

This is what I’m doing now

Joint works fine but, the line isn’t showing. Both Platform3 and Player also have Platform behaviors except physics.

Any thoughts?

Thanks

Found the error:

A shape painter instance should already be present on the scene it doesn’t create a new one.

THANK YOU!! not for the instance thing but Ive been trying to draw a line between 2 objects and ive never used the shape painter before and didnt know how it worked at all! so thank you!!