Add a hit mask to a line?

I draw a line and add an event listener like this:

[lua]

local newLine = display.newLine(x1,y1,x2,y2)

newLine:addEventListener(“touch”,newLine)

[/lua]

However, the line is too narrow to be reliably touched.  I think I need to apply a hit mask to it.  (x1,y1) and (x2,y2) are determined by the user.  The hit mask examples I see all involve images.  How should I proceed given that I have a line, not an image?

According to the newLine docs, lines do not support touch events:

“Currently display.newLine() objects do not support touch/tap events.”

Thanks, that explains it.

According to the newLine docs, lines do not support touch events:

“Currently display.newLine() objects do not support touch/tap events.”

Thanks, that explains it.