Discuss Scratch

1Draven
Scratcher
100+ posts

Remove "Hidden Blocks" and Make Them Visible to the Public.

ThatExplosivePigeon wrote:

DualPikachu wrote:

And if anyone's wondering what they are





Some of those hidden blocks such as all at once do not work anymore, actually if you've used snap, there is a block called warp, which acts like all at once. The loops such as for and while do work still, but im not so sure about the counter block.
counter blocks still work
ideapad-320
Scratcher
1000+ posts

Remove "Hidden Blocks" and Make Them Visible to the Public.


dhfbei8987 wrote:

haileylgbt wrote:

hidden blocks? what are they hiding from us?
Deeper explanation:
These so-called hidden blocks are available as long as you convert the project to a ZIP, then pasting/copying code in the JSON file. This is only accessible through GitHub. It's a complicated process to even obtain these.

dhfbei8987 wrote:

Naleksuh wrote:

There appears to be some confusion about what the suggestion is.

I believe what OP means by “hidden blocks” is a trick that allows you to turn any script invisible. It will still work and be called when the hat block is called, but you won't be able to see the script when you click see inside, or edit or delete it.

OP is suggesting making this no longer possible. I'm not really sure why the ability to do this was added, but it seems to never be used by projects created within the editor and only used by directly editing the project's JSON.

Edit: It appears I myself have been mistaken, as one of the pros here is “Gives a wider variety of visible blocks.”

Ok, you at least understand the concept. Hidden blocks, also known as “Hacked Blocks”, are only obtainable through Github, where Scratch's main developing sources is from.

These can simply be obtained by copying and pasting the source code for these blocks, converting the Sb3 to a ZIP, pasting the code to the JSON file, and reconverting everything back to an sb3 through PowerShell.
You dont have to use github or powershell.
julmik6478
Scratcher
500+ posts

Remove "Hidden Blocks" and Make Them Visible to the Public.

DualPikachu wrote:

There's also these other hidden blocks too:
(image hidden beacuse this hosting is now blacklisted)
Do you want these back too? I can't think of a use for them.
I used it in my custom blocks pack named backblocks[/url, but I still think that so uselles for normal scratch users.

Last edited by julmik6478 (May 25, 2024 13:21:00)

julmik6478
Scratcher
500+ posts

Remove "Hidden Blocks" and Make Them Visible to the Public.

ThatExplosivePigeon wrote:

polish them
                           ::#ffffff 
::Polska Górom
julmik6478
Scratcher
500+ posts

Remove "Hidden Blocks" and Make Them Visible to the Public.

ThatExplosivePigeon wrote:

im not so sure about the counter block.
Counter block actualy works.
julmik6478
Scratcher
500+ posts

Remove "Hidden Blocks" and Make Them Visible to the Public.

Support, but only for working blocks
zach20042013
Scratcher
100+ posts

Remove "Hidden Blocks" and Make Them Visible to the Public.

Nope
Foldy_TPOT
Scratcher
100+ posts

Remove "Hidden Blocks" and Make Them Visible to the Public.

Wouldn't it be hacked blocks anymore?

LIST OF HACKED BLOCKS
scroll up (10)::motion

scroll right (10)::motion

align scene [bottom-left v]::motion
(x scroll::motion
(y scroll::motion
hide all sprites::looks

set stretch to (100)%::looks

change stretch by (10)::looks
when this sprite touches[mouse-pointer v]::events hat
([mouse-pointer v]::events
for each [i v] in (10){
}@loopArrow::control

while <>{
}@loopArrow::control
(counter::control
increment counter::control

clear counter::control

all at once{
}::control
<loud?::sensing
(user id::sensing
([ v]::#fff)//list index random
([ v]::#fffffe)//list index all
play drum (1) for (0.25) beats

set instrument to (1)

set pen color to (50)

change pen color by (20)

change pen shade by (20)

set pen shade to (50)

([on v]::extension//micro:bit pin state
play note (60) for (0.25) seconds::wedo2.0//WeDo 2.0
(example block::extension
block with image @turnRight inline::extension
BigNate469
Scratcher
1000+ posts

Remove "Hidden Blocks" and Make Them Visible to the Public.

dhfbei8987 wrote:

Pros:
- Gives a wider variety of visible blocks.
- Helps those on mobile that can't use hidden blocks
- Makes no “easter eggs” for everyone to have to scout everywhere.
Those of us on mobile can use hidden blocks, we can change file extensions just like anyone else, and these devices understand JSON. You might have to change the file extension to .txt and copy and paste the code into an editor to edit it, but it's possible on all major mobile platforms (and has been for a few years now)

dhfbei8987 wrote:

Q&A:
Why?
Most younglings cannot code those JSON files. Plus, some don't even have/know how to operate the Powershell to convert everything to an SB3 and back. It would also be a long process to do all of that just for some hidden blocks.
You don't need Powershell to edit a JSON file. Most operating systems already can convert between file types easily, and simply renaming a file extension often does not unnecessarily change its MIME type (how computers actually figure out its file type), and it works fine. I've done this myself. In addition, a lot of these were removed from the block pallet due to them being too complicated for your average 8 year old who has never used Scratch before

dhfbei8987 wrote:

How would this benefit Scratchers?
Scratchers have access to a wider variety of blocks, as stated earlier, and in addition, no extra time would have to be taken just to obtain the hidden blocks.
Most of these blocks were removed because they were either made obsolete (like the
set pen shade to ()
block) or were intentionally removed from the editor because they may be confusing for new Scratchers.
In addition, some of them have had their functionality removed, but there are other suggestions to bring them back. In some cases, it's because (like I mentioned above) they were made obsolete, but older projects still used them.

So, no, this isn't really a good idea.

Last edited by BigNate469 (May 25, 2024 17:10:01)

tetraquark
Scratcher
12 posts

Remove "Hidden Blocks" and Make Them Visible to the Public.

support if you give features back to the broken ones, because it can help optimize projects. sure there are workarounds, but they may be long
Mark12042016
Scratcher
12 posts

Remove "Hidden Blocks" and Make Them Visible to the Public.

this a HIDDEN BLOCK

play sound [ v] until done :: hat
unknown2467
Scratcher
100+ posts

Remove "Hidden Blocks" and Make Them Visible to the Public.

Mark12042016 wrote:

this a HIDDEN BLOCK

play sound [ v] until done :: hat
It's not a hidden block because it was never added to Scratch at all, unlike
while <> {

} :: control
or
loud? :: sensing boolean
These blocks are added, but they are hidden from the editor menu.
suseringaf
Scratcher
9 posts

Remove "Hidden Blocks" and Make Them Visible to the Public.

i like hacked blocks

Last edited by suseringaf (March 2, 2025 09:36:51)

Powered by DjangoBB