Connect two actors via a rope and edit length

Hello

So basically I want to make a grappling hook that I can scroll up and down to set the length of the rope. Like in worms.

But the problem is that I have found physics constraint and Rope but I can’t set the length on either. The rope seems to have infinite length while the physics constraint seems to have a set length.

Thanks