Discuss Scratch

fyromaniac1
Scratcher
100+ posts

Cap blocks going Above Stack Blocks

I noticed that in the project editor, this is possible:
ifthendeletethiscloneaskwhy is block above me?andwaitifthenstopall VsayIt works the same :/
I know it's not supposed to do that, and it doesn't look right, However, this only happens in C blocks like “If < > then” blocks.

If I run a script with this, it won't run no matter what cap block it is.
ifthensayhellofor1secsstopall Vsaybyefor1secs
You do this by placing a C block, putting any non-cap block in there, and put a cap block above it. This also works with the “Forever” block.
So I'm not sure what is happening, or if this is a hard glitch and please respond if you have any differences.
Thank you for your time :)

I've been testing this for about 30 minutes, so I'm pretty sure it is correct.

Last edited by fyromaniac1 (Oct. 27, 2013 02:25:29)

scubajerry
Scratcher
1000+ posts

Cap blocks going Above Stack Blocks

I know this is weird, but what do you think the behavior should be? Not let you insert? Delete everything below? Other?
fyromaniac1
Scratcher
100+ posts

Cap blocks going Above Stack Blocks

scubajerry wrote:

I know this is weird, but what do you think the behavior should be? Not let you insert? Delete everything below? Other?
Well, I think what you mean is what should the blocks do when it is incorrectly stacked? I don't think it should delete everything under. Not letting you insert would do it.
kieran1002
Scratcher
85 posts

Cap blocks going Above Stack Blocks

Strange, have you reported this to the scratch team?
fyromaniac1
Scratcher
100+ posts

Cap blocks going Above Stack Blocks

kieran1002 wrote:

Strange, have you reported this to the scratch team?
Nope, I'll give @Lightnin* a link to this discussion.

Last edited by fyromaniac1 (Oct. 27, 2013 15:54:59)

PullJosh
Scratcher
1000+ posts

Cap blocks going Above Stack Blocks

Hmm… I suppose it should just work similarly to trying to put a variable inside a
switchtocostumecostume 1
block. Don't have the white line appear, and don't snap it in.
fyromaniac1
Scratcher
100+ posts

Cap blocks going Above Stack Blocks

PullJosh wrote:

Hmm… I suppose it should just work similarly to trying to put a variable inside a
switchtocostumecostume 1
block. Don't have the white line appear, and don't snap it in.
Good Idea. Yeah. I think it used to, but I'm not exactly sure.
Lightnin
Scratcher
1000+ posts

Cap blocks going Above Stack Blocks

Ah hah! That is indeed a bug. Although it's basically just confined to the behavior of the blocks, right? It doesn't change the execution of the project.

Powered by DjangoBB