Name paremeter in Line2D not used

https://doc.babylonjs.com/snippets/line2d#line-in-xoy-plane-formed-from-central-path

I noticed that the name parameter is not used in the actual line2D function.

Is this by mistake?

The solution is to use the following on line 172. Replace "custom" with name

var customMesh = new BABYLON.Mesh(name, scene);

Fixed thanks for reporting