Discuss Scratch

fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

My browser / operating system: ChromeOS 14541.0.0, Chrome 146.0.0.0, No Flash version detected

SO you can make stack blocks that report values if you mess around enough. Heres the project link (see inside): https://scratch.mit.edu/projects/1314836299/


When you open a custom block editor, there are 3 op-codes.

- argument_editor_boolean | when you create a boolean
- argument_editor_string_number | when you create a string/number
- and, procedures_declaration | when you create a label (important)

You can use these special blocks outside of the custom block editor.
Ex: https://scratch.mit.edu/projects/1071898601/editor/ and https://scratch.mit.edu/projects/1072785231/editor/

When you change the boolean or string opcodes to a declaration opcode, you get this weird, flat block: https://scratch.mit.edu/projects/1314812003/editor/

You can also make it glued/stuck to the editors pane: https://scratch.mit.edu/projects/1314819806/editor/

If you put both the boolean and string inputs into a join () () block, glue them to the string inputs, and then change their opcode to the declaration. You get the weird stack block that reports things.

The reason why the reporter menu is stuck at the top-left (0,0) of your screen is because there is no valid block position, so it defaults to (0,0).

You can also get it to report variable names and values. I haven't really found a use for it yet though.

Last edited by fortyonetest (May 2, 2026 04:10:25)

fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

you can also put blocks inside blocks: https://scratch.mit.edu/projects/1314865165/editor/
fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

bump
fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

bump
redspacecat
Scratcher
1000+ posts

Custom stack block can report values when clicked, just like reporter blocks

Very interesting find
fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

redspacecat wrote:

Very interesting find
You can also make blocks like these that when the “x position” reporter is clicked, it sets your variable to the x position
https://scratch.mit.edu/projects/1315184151

Last edited by fortyonetest (May 3, 2026 18:14:08)

medians
Scratcher
1000+ posts

Custom stack block can report values when clicked, just like reporter blocks

fortyonetest wrote:

redspacecat wrote:

Very interesting find
You can also make blocks like these that when the “x position” reporter is clicked, it sets your variable to the x position
https://scratch.mit.edu/projects/1315184151
Wow I tried connecting a “when green flag clicked” block to that to see what would happen, and the when green flag clicked block was stuck to my cursor XD (couldnt delete it)
My browser / operating system: Windows 7, Chrome 149.0.0.0, No Flash versions detected
fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

medians wrote:

fortyonetest wrote:

redspacecat wrote:

Very interesting find
You can also make blocks like these that when the “x position” reporter is clicked, it sets your variable to the x position
https://scratch.mit.edu/projects/1315184151
Wow I tried connecting a “when green flag clicked” block to that to see what would happen, and the when green flag clicked block was stuck to my cursor XD (couldnt delete it)
My browser / operating system: Windows 7, Chrome 149.0.0.0, No Flash versions detected

Its because its technically a stack block. The same thing happens with https://scratch.mit.edu/projects/1314836299/

Because its technically a join block, you can put inputs in them
fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

medians wrote:

fortyonetest wrote:

redspacecat wrote:

Very interesting find
You can also make blocks like these that when the “x position” reporter is clicked, it sets your variable to the x position
https://scratch.mit.edu/projects/1315184151
Wow I tried connecting a “when green flag clicked” block to that to see what would happen, and the when green flag clicked block was stuck to my cursor XD (couldnt delete it)
My browser / operating system: Windows 7, Chrome 149.0.0.0, No Flash versions detected

If you make a new sprite and click on it while the green hat block is on your cursor, it goes away. But when you click the green flag, it sets the variable to the position (meaning it attached)
fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

Bump
medians
Scratcher
1000+ posts

Custom stack block can report values when clicked, just like reporter blocks

fortyonetest wrote:

If you make a new sprite and click on it while the green hat block is on your cursor, it goes away. But when you click the green flag, it sets the variable to the position (meaning it attached)
Works for me LOL
My browser / operating system: Windows 7, Chrome 149.0.0.0, No Flash versions detected
fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

medians wrote:

fortyonetest wrote:

If you make a new sprite and click on it while the green hat block is on your cursor, it goes away. But when you click the green flag, it sets the variable to the position (meaning it attached)
Works for me LOL
My browser / operating system: Windows 7, Chrome 149.0.0.0, No Flash versions detected

I think this glitch exists because of the new update that scratch pushed out? because when i load it in turbowarp it wont show.

edit: yeah when you load it in turbowarp, its a normal stack block

Last edited by fortyonetest (May 4, 2026 15:49:17)

fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

I wonder what you can do with this…
fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

bump
fortyonegames
Scratcher
100+ posts

Custom stack block can report values when clicked, just like reporter blocks

Bump
fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

I tried to make a pause button: https://scratch.mit.edu/projects/1315743829/editor/

Some weird things about this project is that:
- the sprite wont exist unless you make a sprite (then you can see them)
- the sprite that has the glitched block wont spin unless out of the editor or switched to another sprite
- clicking the glitched reporter while in the sprite does pause it (if you have a separate script that moves or spins it running)
- any loop block or a block that can hold things inside itself can be attached to invisible blocks that break the project
medians
Scratcher
1000+ posts

Custom stack block can report values when clicked, just like reporter blocks

fortyonetest wrote:

I tried to make a pause button: https://scratch.mit.edu/projects/1315743829/editor/

Some weird things about this project is that:
- the sprite wont exist unless you make a sprite (then you can see them)
- the sprite that has the glitched block wont spin unless out of the editor or switched to another sprite
- clicking the glitched reporter while in the sprite does pause it (if you have a separate script that moves or spins it running)
- any loop block or a block that can hold things inside itself can be attached to invisible blocks that break the project
I don't think I see it when I upload it to turbowarp desktop (current non-legacy ver) or Scratch Desktop (I had to reinstall it this D:) so yea i think it was this new update XD
My browser / operating system: Windows 7, Chrome 149.0.0.0, No Flash versions detected

Last edited by medians (May 6, 2026 00:48:03)

fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

medians wrote:

fortyonetest wrote:

I tried to make a pause button: https://scratch.mit.edu/projects/1315743829/editor/

Some weird things about this project is that:
- the sprite wont exist unless you make a sprite (then you can see them)
- the sprite that has the glitched block wont spin unless out of the editor or switched to another sprite
- clicking the glitched reporter while in the sprite does pause it (if you have a separate script that moves or spins it running)
- any loop block or a block that can hold things inside itself can be attached to invisible blocks that break the project
I don't think I see it when I upload it to turbowarp desktop (current non-legacy ver) or Scratch Desktop (I had to reinstall it this D:) so yea i think it was this new update XD
My browser / operating system: Windows 7, Chrome 149.0.0.0, No Flash versions detected

for some reason when C blocks connect to these shadow blocks, it breaks entirely.

The C blocks top is clamped onto its bottom, causing a really weird visual effect.
fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

Bump
fortyonetest
Scratcher
23 posts

Custom stack block can report values when clicked, just like reporter blocks

Bump

Powered by DjangoBB