Discuss Scratch
- Discussion Forums
- » Suggestions
- » Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
- Scratch-Minion
-
1000+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
We started discussing this topic under the suggestion: Sorting For Blocks https://scratch.mit.edu/discuss/topic/186540/ by hugmyster
I will list the main posts from there, including clarification and support from TheLogFather so that you do not need to go there:
My proposal is as follows:
I will list the main posts from there, including clarification and support from TheLogFather so that you do not need to go there:
I've been using blocks more and more as I find them very useful, but now find that when I have loads of them (about two screen's worth) it is very difficult to locate specific blocks as they are not listed in any order, except maybe the order you made them in.
My proposal is as follows:
All blocks should remain wherever the programmer puts them in their scripts.
*** BUT a programmer should be able to sort the list of their defined blocks under the Purple “More Blocks” tab in the editor ***
The programmer could choose to sort the list of blocks to correspond to the physical placement of their blocks in their scripts.
(Allowing for blocks being laid out vertically and horizontally is the programmer's responsibility, not a problem for the Scratch Team).
The programmer could choose to sort the list of blocks alphabetically.
New blocks created would always be placed at the end of the list. The programmer has to shift them to the order they want.
NB. Currently the list of blocks (under the purple “More Blocks” tab in the editor) does change its order when you drag the blocks around in the scripts area, but not according to any rhyme or reason I can see.
Try this yourself by making 4 blocks in the editor then dragging them up, down, right and left and seeing what happens to the order of the blocks in the list.
I would like the Scratch Team to remove this code, and make the programmer fully responsible for the ordering of the list.
To clarify, you're talking about the order of custom blocks in the “More Blocks” palette, right…?
I'd definitely like to see some easy way to re-order these blocks, yes!
At the moment you have to go find each custom block's definition, in the same order you want them, and drag each one a little to make it go to the bottom of the palette list. (They are listed in the More Blocks palette in script ‘depth’ order in the editing pane, starting from the bottom-most script. And dragging a script brings it in front of other scripts, so it will then end up at the bottom of the list. Though it's a bit confusing 'cos you only see the order actually change to the new order on the next update of the palette, which means the order is always one drag behind…)
- liam48D
-
1000+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
Support! Custom blocks are pretty annoying to use just because they aren't easily ordered.
- hugmyster
-
100+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
I never made myself clear. I always meant Custom blocks, and I support. 

- Abstract-
-
1000+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
Support! The current custom block system is annoying…
- A-no-meep
-
100+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
Support!
- Birdlegs
-
1000+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
I could see a bit of a feature where dragging the block in the blocks tab to the ordinal spot you wanted it in would work. You'd just click and drag the block, say, above the block listed just above it, and then ka-blum, they're swapped around. Though maybe that wouldn't be worth the development time? Also, I wonder–would it be saved for the user or just the specific project? Would the current editor be receptive to a change like that? Perhaps it should be implemented in 3.0, if it's a good fit for Scratch at all.
- stickfire-test
-
100+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
Support.
- Jonathan50
-
1000+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
Support! 

- Swampert11
-
1000+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
Support!
- Scratch-Minion
-
1000+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
bump
- _Comicfan_
-
1000+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
Support.
- Scratch-Minion
-
1000+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
bump
- Scratch-Minion
-
1000+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
Looking for more supporters. I have also noticed that if you drag (copy) a custom block to another sprite, then that sprite is moved to the end of the custom blocks list in the current sprite.
- ngnhc
-
100+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
Support.
This would be much better than the current way of organizing custom blocks as mentioned by TheLogFather.
This would be much better than the current way of organizing custom blocks as mentioned by TheLogFather.
- joefarebrother
-
500+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
Support!
- Scratch-Minion
-
1000+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
Bump
- bigpuppy
-
1000+ posts
Let programmers control the Order of Custom Blocks in the "More Blocks" Palette
Support.
Also maybe there could be a drop-down menu that could sort them automatically in alphabetical order or order made or something, but that would not be required.
Also maybe there could be a drop-down menu that could sort them automatically in alphabetical order or order made or something, but that would not be required.
- Discussion Forums
- » Suggestions
-
» Let programmers control the Order of Custom Blocks in the "More Blocks" Palette