How maintain the value of vector location point?

Can you describe what exacly you want to do?

I want to paint a trail moving actor on the surface.

64053-wallmark.jpg

I mean what is the issue with it, you post qith quite general quastion, i don’t know what you mean by “maintain” for example and you post images that don’t tell anything about your issue. So could you describe issue more?

I think I have described the problem in as much detail as possible. I do not know much English so I can not describe exactly. I need to be stored in an array of two vectors etc. In this vectors, i want to draw stroke start and end decal(wallmark) or spline with static mesh, If you’ve seen the lightsaber then I think you will understand what I want to implement an idea

The only way for the Blueprint to remember the value is to store them in a variable. However, this doesn’t work in the Construction Script, which gets evaluated in the editor while the game is not running. From your description, it sounds like you want the trace to take place during the game in EventTick or something like that.

Once you’ve moved the code from the ConstructionScript to the EventGraph or a custom function, you can store the location in a variable. If you only need the most recent location, you can use a normal Vector. If you need several of them, click on the array icon to turn the variable into a Vector array, then add your trace location to the array. You’ll also need to remove old values from the vector once you no longer need them.

Thank you for the quick response.I have such blueprint.
Now I need to somehow attach Particle beam at the start and end point.