Wielowypust

Hello, I need advice on how to make a function that works as follows:

  1. Blueprint in which the spline is located adds to my scene.
  1. I create the desired points
  1. I press the button that is located in the widget editor
    In place of the last point added to the scene blueprint(spline), a new blueprint is created, which has a spline
  2. by clicking the button again in the widget editor another blueprint(spline) is created in place of the last spline point that was added previously
  3. i would really like it to work like this:
    adds a bp(spline) to the scene
    i select a point in my spline
    when I click the button, the location of the selected spline point is stored in a variable(this location is used to create new Bp)