Unreal default “DrawLine” api has inconvenient points for developers:
- Lines can not be previewed and edited in UMG editor.
- Hard to edit complex lines.
- Can not draw splines.
- Can not set a brush for the line geometry.
- Can not be used as a rail for other widgets.
Maybe you can try the “UMGSpline” plugin to solve your problems:
UMGSpline in Code Plugins - UE Marketplace