I'm on a project that makes a drawing page (something like Paint).
I want to have an option to undo/redo last iterations.
How can I do an Ctrl+z system for more the last move?
I can use the load/save events to undo the last iteration, but how can I go more deep?
Lets say that pressing 10 times the Ctrl+z combination will bring back the drawing area 10 steps backwards?