How do I ballance out a dash and grapple hook mechanic without my character flying off the practice map?

I’m using two tutorials to help me make the game I’m developing. However a roadblock occurred, when I’m airborne and dash I go flying but since I want my game to keep the grapple hook I’m at a loss for words.