Am I crazy or did there not used to be a block for this? I could swear I remember seeing a block for this at some point yet now when I look can't find one for the life of me, if I'm just imagining it, could soem1 post a code that does the same thing?
Thanks
Offline
just make two variables:
old X
old Y
and then before you move to a new position, do this:
set old X to (X position)
set old Y to (Y position)
and then when you want to return to your old position, do this:
go to x: (old X) y: (old Y)
Offline
or use lists. record every x and y position when it moves and when you want to go back, just go set X to last of (list) old X, delet last of old X
Offline
here's an example of using the variables tharvoil: http://scratch.mit.edu/projects/dsdude10labs/343135
Offline