Raycaster threshold with fat lines

Hello,
How do I set Raycaster line threshold for Line2/LineSegments2? I need to increase the width of a line when hovering nearby.

You should be able to define a threshold (which is 0 by default) by doing this:

raycaster.params.Line2.threshold = 1; // in pixels

Or just to be more precise you currently have to do this:

raycaster.params.Line2 = { threshold: 10 };