Dynamic Mesh / Spline / Line Tracing UE 5.4

Hello
How can I make spline points trace other points on the same spline? So they would detect each other to avoid any collision when the mesh is generated. I’m using geometry script to generate a dynamic spline within the tool I’m creating