lX and lY are where the line starts pX and pY are where the line points to If you use the block, please give credit.