Hi!
Sorry for the late response.
Have a look at this topic:
https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param/greased_line#picking-and-intersections
If you need more info don’t hesitate to ask.