Click to shoot hook
E to reveal real hook head (green)
There is a delay between extracting the position and when the position is updated by velocity in the next frame. So there isn't a way to get an accurate line without a frame delay...
But to fix the delay, I made a fake hook head that follows the position of the real hook head. Making the position update on next frame with the line. Green dot is the real hook head, toggle with E.