It works much like flying. Click the grapple gun to fire it at a high point, press Y to be pulled to that destination, then press X to stop and let go.