Snap! I literally just posted code that does exactly this in another thread.
In amongst the rest of the code you’ll find 3 batchPlay helper functions makeSnapshot, revertToSnapshot, and deleteSnapshot.
Snap! I literally just posted code that does exactly this in another thread.
In amongst the rest of the code you’ll find 3 batchPlay helper functions makeSnapshot, revertToSnapshot, and deleteSnapshot.