UE4-21 UNDO in realtime

The object is only used to store data. You can process this data anywhere.

1 Like

Here is one way how to implement it:

  1. Create Blueprint Interface:
    image

  2. Add a request function to it:

  3. Add to your controlling blueprint this interface:
    image

  4. Add the Source variable to the BP_ActionTransform and pass data to the Source using the blueprint interface function.

  5. Set the Source variable when constructing the object.

  6. Handle blueprint interface event:


1 Like

Also, It can be done more straightforwardly without a blueprint interface by passing data directly to the Source event. However, this method is less flexible.

1 Like