Lengthen a Raycast2d in script?

no its the position the raycast is looking at, which also defines its length