New Extension: Block Count #2208
mcnole25
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
This probably won't ever be merged |
Beta Was this translation helpful? Give feedback.
0 replies
-
Do you not know that there's an addon built in that gives you a block count at the top of your screen? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
blockcount.txt

Hi everyone. I decided to make an extension that adds a special block that gets the count of all blocks inside the block palette.
How could this be useful?
Well, it's kind of useless in actual projects, since it's just a constant value. BUT, in the editor it's actually quite useful!
When I was adding every single extension in Scratch & Turbowarp to the editor, I learned there are about 1900 blocks total, including old extensions & blocks.
When you create more variables & lists the block count increases. Adding more extensions & custom blocks increases the count.
How does it work?
What the extension does is actually count all the HTML elements of class name
blocklyDraggable
. It doesn't really do anything advanced so if Scratch has a major update, this extension will break.If you go into the stage, the block count changes, so it doesn't actually count hidden blocks.
Thank you for viewing this extension, enjoy!
Beta Was this translation helpful? Give feedback.
All reactions