hi Waltuo , maybe it's too late! but anyway... just add "/ 2" to line width action.
"distance(Object1.Xpos, Object1.Ypos, Object2.Xpos, Object2.Ypos) / 2"
Hope it helps.
Develop games in your browser. Powerful, performant & highly capable.