AllanR thanks, there are probably pros and cons of either way. I see in that other topic you did a redo too, which is pretty slick.
Alon
The example was mainly to try out various ideas. On one hand it’s a control scheme that I did for fun and the other part is a way to do undo. It was mainly to maybe give ideas, the bulk of it would be much different with different setups.
The main contribution was to use a id variable instead of uid.
Anyways the undo system is simply this in a nutshell. Right before modifying stuff save it to a list somewhere. Then when you want to undo, you take that list to restore how things were.
My events do tend to be pretty dense and admittedly I use lots of tricks to make things more compact or make some things simpler. Tricks are mainly:
Using text as a list and using tokenat to get values.
Using pick by uid to get around picking a newly created instance.
Using groups to scope away some variables to keep things a bit more organized.
I also don’t use c3 but the way to call functions is just different but can be used in the same way.
Probably the simplest way to do save as a beginner is to just save/load state I guess.