How to Change Grappling Physics


Hello. I am new to GDevelop and need some help with a project. How do I change the mechanics of grappling? So far, I’ve gotten the grapple part down, however, I want the character to get closer to the grapple point the longer the person clicks down, so that they don’t just stay suspended in the same area.
TL:DR, I’d like to make a grappling hook get shorter the longer it’s held out.