If your line sprite is thick, make sure the origin point is on the left center edge, and the rest of the sprite points to the right.
Note that this type of drawing doesn't work particularly well with thick lines on general.
Also that tutorial was made for Construct 2. In Construct 3, there is an actual drawing canvas object that is more suitable for drawing things.