Editor Utility Widget - Undo Transaction

I’m trying to setup undo for a list of objects selected in the world. The transaction object only seems to store the last element in the array. Is there a way to create multiple instances of transact object? Or a way to wrap the entire block of commands so I can undo the whole thing? I also tried CreateTransaction with out much luck. Hoping for some insight.

1 Like

Oh, I see. I just begin the transaction inside the for loop. :slight_smile:

that doesnt quite work… makes me undo 50x if i select 50 objects. I would like to undo one time to undo the action for every object i had selected. How would that be done?

Did you try putting the “End transaction” node at the end of the loop → “Completed”?

1 Like