I've got a custom code block that I've written in Scratch:
I want to duplicate my code block so that I can have a second version that is slightly different instead of having to create a whole new block from scratch manually.
Is it possible to duplicate any of "My Blocks"?
Duplicating the 'body' of the custom block is easy and would already save you a lot of work. You'd only have to create a new 'head' manually.
Steps to take:
Edit: There's actually a way to duplicate both head and body. It makes use of the fact that dragging a block to another sprite will duplicate it. Obviously it does demand you to rename the duplicate; having two custom blocks with the same name within the same sprite is a very bad idea.
As you may have guessed, your project needs at least two sprites to perform this trick. If your project only has one sprite, then just create a temporary dummy sprite, and delete it when done.
Steps: