Discuss Scratch
- Discussion Forums
- » Suggestions
- » "Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
- sterngames
-
Scratcher
35 posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
great! i shall transmit your suggestion to the ST. have a good day! 

- silvxrcat
-
Scratcher
500+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Support because of this reason.~sniper~{define block 1Phew, making that took time
forever
. . .
end
define block 2
forever
, , , :: grey
end
event :: events hat
broadcast [Execute Block v]
when I receive [Execute Block v]
block 1
when I receive [Execute Block v]
block 2} ⠀⠀⠀⠀= ⠀⠀⠀{event :: events hat
do {
. . .
} while doing {
, , , :: grey
} :: control} :: reporter #aaa
To much work. Support.
- mybearworld
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
deleted cause [offtopic]
Last edited by mybearworld (Dec. 12, 2020 15:55:40)
- portalpower
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
if I had a penny for every time someone posted something covered in the OP, I'd be rich
broadcasting workarounds wouldn't work if you have clones unless you only let the script run once with variables and stuff also local variables wouldn't work
broadcasting workarounds wouldn't work if you have clones unless you only let the script run once with variables and stuff also local variables wouldn't work
- lapisi
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
This is essentially thejust because a block is in Snap doesn't mean it shouldn't be in Scratch.launch {block from Snap!. It launches a script that runs while you run other scripts.
script::motion
}::control
(Technically, it looks likelaunch ({script::motion}::grey ring)::controlbut Scratch isn't ready for grey rings)
So, no support. I'm going for a launch block.
- gosoccerboy5
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
That wasn't my implication, and I've sort of changed views since then.This is essentially thejust because a block is in Snap doesn't mean it shouldn't be in Scratch.launch {block from Snap!. It launches a script that runs while you run other scripts.
script::motion
}::control
(Technically, it looks likelaunch ({script::motion}::grey ring)::controlbut Scratch isn't ready for grey rings)
So, no support. I'm going for a launch block.
- MeIzAwezomeDede
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
I'm losing my sanity here, THIS SUGGESTION IS ABOUT CUSTOM BLOCKS, “”“WORKAROUNDS”“” DON'T WORK FOR THOSEI`m not talking about custom blocks!-snip-I think you no like read. I will explain in few words. Normal hat block work with two scripts, but custom block no work with that. Do you get now?
I`m not talking about custom blocks.
Ok, that might've been kinda insulting. I'll use normal sentences.
Normal hat blocks work with two scripts, but custom blocks don't.
Please read the op carefully

- fdreerf
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
That title is very long. All you really need to say is that there isn't a workaround.
I don't like the name of the block. I like the idea of being able to run two scripts at once* in an E block, but “do while doing” is such a clunky and inelegant name, especially with the verb “do”. I personally can't think of a better name, but it just feels gross to say and read.
I don't like the name of the block. I like the idea of being able to run two scripts at once* in an E block, but “do while doing” is such a clunky and inelegant name, especially with the verb “do”. I personally can't think of a better name, but it just feels gross to say and read.
- Tunde123
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
That title is very long. All you really need to say is that there isn't a workaround.Read the title again. He is saying that people should read the entire OP. But people didn't seem to care to read it.
-snip-
- fdreerf
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
And he wants people to read the OP because people keep saying there is a workaround. (there is, but it sucks!)That title is very long. All you really need to say is that there isn't a workaround.Read the title again. He is saying that people should read the entire OP. But people didn't seem to care to read it.
-snip-
- xXRedTheCoderXx
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
also since they it's not possible to make this do you mean like alternating?What I had in mind was it'd do the blocks from top to bottom, so the list would be 1, 2, 3, 4, 5, 5, 4, 3, 2, 1.
ex:Do {the list would be 1,5,2,4,3,3,4,2,5,1
add [1] to [list v]
add [2] to [list v]
add [3] to [list v]
add [4] to [list v]
add [5] to [list v]
} while doing {
add [5] to [list v]
add [4] to [list v]
add [3] to [list v]
add [2] to [list v]
add [1] to [list v]
} :: control
It's a cool suggestion, but I would not touch coroutines at all in a beginner programming language.
Coroutines!
Support. Useful beyond belief.

(source)
Has your view changed since then?

I don't like the name of the block. I like the idea of being able to run two scripts at once* in an E block, but “do while doing” is such a clunky and inelegant name, especially with the verb “do”. I personally can't think of a better name, but it just feels gross to say and read.Can't disagree there. The name used to be, “Run, while running,” as in, it runs code while running other code, but it was changed due to people thinking some people might be confused as new coders might not understand what run in this context means.
I honestly think I should get the old name back, what do you think?
That title is very long. All you really need to say is that there isn't a workaround.I think I'll keep the title, as the length catches the eye of people, making them read it, which means they'll read the entire OP.
Well, I guess it doesn't make everybody read the entire OP.

- fdreerf
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
I think less is more when it comes to blocks. PerhapsI don't like the name of the block. I like the idea of being able to run two scripts at once* in an E block, but “do while doing” is such a clunky and inelegant name, especially with the verb “do”. I personally can't think of a better name, but it just feels gross to say and read.Can't disagree there. The name used to be, “Run, while running,” as in, it runs code while running other code, but it was changed due to people thinking some people might be confused as new coders might not understand what run in this context means.
I honestly think I should get the old name back, what do you think?
run {
} and {
} ::controlcould work, though it'd be weird to refer to this block's name.- sterngames
-
Scratcher
35 posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
workaround is:
broadcast [broadcast v]
when I receive [broadcast v]
block (1) ::custom
when I receive [broadcast v]
block (2) ::custom
define block (input)
if <(input) = [1]> then
script 1... :: pen
else
script 2... :: pen
end
- mybearworld
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
workaround is:I think we already had thatbroadcast [broadcast v]
when I receive [broadcast v]
block (1) ::custom
when I receive [broadcast v]
block (2) ::custom
define block (input)
if <(input) = [1]> then
script 1... :: pen
else
script 2... :: pen
end
~sniper~{define block 1Phew, making that took time
forever
. . .
end
define block 2
forever
, , , :: grey
end
event :: events hat
broadcast [Execute Block v]
when I receive [Execute Block v]
block 1
when I receive [Execute Block v]
block 2} ⠀⠀⠀⠀= ⠀⠀⠀{event :: events hat
do {
. . .
} while doing {
, , , :: grey
} :: control} :: reporter #aaa
To much work. Support.
- xXRedTheCoderXx
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
I think less is more when it comes to blocks. PerhapsYes it could, and we could refer to it as a “Run, and run” E block.run {could work, though it'd be weird to refer to this block's name.
} and {
} ::control
run {
} and {
run {
} and {
run {
} and {
run {
} and {
run {
} and {
} ::control} ::control} ::control} ::control} ::controlAs that's what the blocks say when snapped together.- mybearworld
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Yeah,-snip-Yes it could, and we could refer to it as a “Run, and run” E block.run {As that's what the blocks say when snapped together.
} and {
run {
} and {
. . .
} :: control} :: control
run ... and run ... and run ...
do ... while doing do ... while doing do ...
- PkmnQ
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
I know, you were talking about the workaround. I was also talking about the workaround, which DOES NOT WORK WITH CUSTOM BLOCKKS PLEASE LEARN HOW TO READI`m not talking about custom blocks!-snip-I think you no like read. I will explain in few words. Normal hat block work with two scripts, but custom block no work with that. Do you get now?
I`m not talking about custom blocks.
Ok, that might've been kinda insulting. I'll use normal sentences.
Normal hat blocks work with two scripts, but custom blocks don't.
- lapisi
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
NanoPlex wasn't talking about custom blocks or as you put it “custom blockks” so not working with custom blocks isn't actually important, also:I know, you were talking about the workaround. I was also talking about the workaround, which DOES NOT WORK WITH CUSTOM BLOCKKS PLEASE LEARN HOW TO READI`m not talking about custom blocks!-snip-I think you no like read. I will explain in few words. Normal hat block work with two scripts, but custom block no work with that. Do you get now?
I`m not talking about custom blocks.
Ok, that might've been kinda insulting. I'll use normal sentences.
Normal hat blocks work with two scripts, but custom blocks don't.
PLEASE LEARN HOW TO READcan be just as insulting as:
I think you no like read. I will explain in few words. Normal hat block work with two scripts, but custom block no work with that. Do you get now?
- MeIzAwezomeDede
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
-snip-But isn't this entire suggestion about custom blocks?? No workaround will work for them
NanoPlex wasn't talking about custom blocks so not working with custom blocks isn't actually important
- gosoccerboy5
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Which one of the scripts will end the E block and continue the next script if it ends? How about, if one script ends, both end?
- Discussion Forums
- » Suggestions
-
» "Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)