Stretchy string

Hi,

I’ve been creating a ball on a string thing and got the ball moving etc but I would like to add a string. I can add a straight string using lineto or a MC but i would like the string to curl up when the ball is closer than the string length.

Any ideas how to do this? I have code for working out the rotation needed, distance from the ball and max string length.

Thanks