Script Access To Undo History

Hi all,

I'm trying to get the action of my simple script that translates an object to another location to be undone by a CTRL-Z keystroke. Is that possible?

I have written the script that moves the object around with the setWSPos() method of an object but would like to be able to CTRL-Z/Undo it and have the object return to its original position. Is the Undo history some sort of script accessible scene aray/stack?

Thanks!

Comments

Sign In or Register to comment.