How do you change a blueprint spline in-game?

I am trying to show the navigation path between an actor and mouse position using a spline. I can get the array of points just fine but I can’t find a way to make the spline/spline mesh components update properly as the mouse moves. All the tutorials I find on splines only cover changing the spline in the editor.

Here is the event graph for making the spline. Find path, set a new spline to the path, and the same basic loop that every tutorial has for putting mesh components on a spline. If I tell it to print out the number of points or the points in the path it works so I guess there is something wrong with how I am making the spline. What should the spline blueprint have for this to work?

Mostly resolved by exposing a variable for the array of points from the construction script and doing the spline work there.

I am not sure if there is a better way to do this besides destroying and recreating a new spline every tick though.

This method worked in a test file but when implemented in another passing the array causes a crash on compile and opening the blueprint.

Are you trying to do something like this?

I’m drawing out the spline with my mouse but it didn’t show in the video.

Oh, I’d really like to do exactly this… do you have a tutorial or can you post the blueprint? Thanks!