Discuss Scratch

stefie10
Scratcher
63 posts

Weird block glitch

To recreate this bug, create two custom blocks. Make the first custom block contain something you would notice, like a sudden motion, and the second custom block contain the first custom block, nothing else. Now click on the second custom block. At least for me, nothing happens.

define block1
turn cw (16) degrees
define block2
block1 //Don't click on the block definition - Instead, run the block.

block2 //Click on this (in a project)
This seems to be fixed by running the block in the context of a script, under a reporter, but the bug is still odd.
HCJSCT
Scratcher
100+ posts

Weird block glitch

Interesting, works completely fine for me
nembence
Scratcher
500+ posts

Weird block glitch

If I click block2 in the block palette then it doesn't rotate.
If I drag block2 to the code area and click it there then it rotates
NMario84
Scratcher
1000+ posts

Weird block glitch

I believe this is intended because you are literally just redirecting the script back to custom block ‘block1’ when you run ‘block2’. Unless I misunderstood what “glitch” you are referring to. Otherwise, it works as intended.
stefie10
Scratcher
63 posts

Weird block glitch


NMario84 wrote:

I believe this is intended because you are literally just redirecting the script back to custom block ‘block1’ when you run ‘block2’. Unless I misunderstood what “glitch” you are referring to. Otherwise, it works as intended.
I believe you misunderstood the glitch I'm referring to. When you run block2 from the block palette, it doesn't rotate
HCJSCT
Scratcher
100+ posts

Weird block glitch

oh from the block palette
Edit: Interesting, it doesn't work

Last edited by HCJSCT (March 4, 2025 01:05:38)

rafascratch17
Scratcher
1 post

Weird block glitch

The problem is that the blocks only have the letters and they don't work in the palette.

Last edited by rafascratch17 (Dec. 12, 2025 22:24:41)

Brothers-Cookies
Scratcher
11 posts

Weird block glitch

my blocks is now only text

Last edited by Brothers-Cookies (Dec. 14, 2025 18:18:45)

Powered by DjangoBB