Discuss Scratch

iiucandyfloss
Scratcher
1000+ posts

Undo and redo buttons in the project editor



Introduction

We all, as humans, make mistakes. Whether that's dropping a plate on the ground or deleting artwork, we all make mistakes. Sometimes, we make them in our beloved Scratch project editor. Undo and redo buttons could help with this. Deleted a long piece of code that you've worked hard on? No problem, undo it. Undone too many things? No problem, re-do them.

How would this be made?

There could be an undo and redo button in the project editor. As for its placing, it could be nearby the other functions, such as zoom-in and zoom-out.

What could go wrong?

You could, for instance, switch your device upside down and still manage to press the buttons, though I think that highly unlikely.
On a more serious note, I actually don't know what could go wrong with this. The buttons could help millions and billions of Scratchers all over the world.

Conclusion

Thank you for reading! If you do not support this idea, please give a reason why rather than saying “No support.” “No support” is unconstructive and does not tell me how to elaborate on and improve my idea. Thank you.

han614698
Scratcher
1000+ posts

Undo and redo buttons in the project editor

This actually already exists.

hedgehog_blue wrote:

Here's where you can find buttons to undo and redo different things:
Right click anywhere in the code and select undo and redo to undo and redo changes to your code. Or if you like keyboard shortcuts, use ctrl+z for undo and ctrl+shift+z for redo.


Costumes and sounds have these arrow-like buttons that you click to undo and redo changes to a certain costume or sound



If you delete entire costumes, sounds, or sprites, you can find a restore option (which undoes the deletion) in the edit menu

(src)
iiucandyfloss
Scratcher
1000+ posts

Undo and redo buttons in the project editor


han614698 wrote:

This actually already exists.
-snip-

Thanks! Although this is added, it's not always visible to Scratchers, especially not new Scratchers. After deleting an important sprite or throwing away some important code, the user making the project will probably start panicking and not remember the hidden undo and redo buttons.

Last edited by iiucandyfloss (April 4, 2024 00:02:21)

scratchcode1_2_3
Scratcher
1000+ posts

Undo and redo buttons in the project editor

iiucandyfloss wrote:

(#3)

han614698 wrote:

This actually already exists.
-snip-

Thanks! Although this is added, it's not always visible to Scratchers, especially not new Scratchers. After deleting an important sprite or throwing away some important code, the user making the project will probably start panicking and not remember the hidden undo and redo buttons.
It also works with Ctrl+Z, and most people, regardless of being a New Scratcher or not, would probably try that first. That did happen to me once, but then that was the only time it happened until I learned, since I looked it up.
banana439monkey
Scratcher
1000+ posts

Undo and redo buttons in the project editor

just try not to forget to open the editor in inprivate mode, banana!

yes, the editor has context menus for undo/redo, yes it has ctrl + z
but it does not have ctrl + y???????????????????
also, most editors (be that code or otherwise) have undo and redo in the “edit” in their menu bars
…. scratch … doesn't

Banana
bunnylushki
Scratcher
10 posts

Undo and redo buttons in the project editor

iiucandyfloss wrote:

han614698 wrote:

This actually already exists.
-snip-

Thanks! Although this is added, it's not always visible to Scratchers, especially not new Scratchers. After deleting an important sprite or throwing away some important code, the user making the project will probably start panicking and not remember the hidden undo and redo buttons.
That happened to me once, while I was making some beginner art. I panicked. As a result I… Cried.
A_Nyan_In_Space
Scratcher
100+ posts

Undo and redo buttons in the project editor

Powered by DjangoBB