ProtoFlux:EndUndoBatch: Difference between revisions

From Resonite Wiki
Added links. Style.
m YoshBot moved page ProtoFlux:End Undo Batch to ProtoFlux:EndUndoBatch: Automated: removing spaces from ProtoFlux namespace
 
(One intermediate revision by one other user not shown)
Line 23: Line 23:
=== Output ([[Impulses|Continuation]]) ===
=== Output ([[Impulses|Continuation]]) ===


Code to run after the undo batch. Ideally, the code that runs should be modifying only things included in the undo batch the node ended, so it can be undone by the user.
Code to run after the undo batch.  


== Examples ==
== Examples ==

Latest revision as of 23:51, 20 August 2025

End Undo Batch
*
Next
Undo

When paired with a Begin Undo Batch, the End Undo Batch node will batch all previous undo steps after the previous Begin Undo Batch into one, ignoring all undo descriptions on all undo nodes between the two. This will make all the undo steps one undo press on the Context Menu of the user that impulsed the node chain.

Inputs

Input (Call)

End the undo batch.

Outputs

Output (Continuation)

Code to run after the undo batch.

Examples