Discuss Scratch
- Discussion Forums
- » Suggestions
- » "Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
- DarthVader4Life
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Chair of Republic.now that's CoRrect.Whatever the typos should mean.
- WaterComesBack
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
The “I” isn't supposed to be capitalized.Don’t forgethere's some more examples.I'm getting real sick and tired of people saying “No support, there's a workaround.” Very rarely does a block get removed because of a workaround. so rare in fact, that the only instance of a block getting removed because of a workaround that i am 100% sure happened is the forever if block. even then the extremely simple workaround wasn't the only factor, apparently users didn't understand it either. and because a block has a workaround DOESN'T mean it shouldn't be added. so if you could kindly read this, that'd be great.You are so right there are so many blocks already in scratch that have workarounds but still make scratch easier an example is if else.change x by ()
change y by ()
next costume
next backdrop
when [ v] key pressed
forever
end
wait until <>
(() - (0))
change [ v] by (0)
If on edge bounce :: motion
Last edited by WaterComesBack (July 28, 2020 15:16:03)
- HTML-Fan
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Don’t forgetThat's more complicated, more then just adding var + for change var by.
If on edge bounce :: motion
- cooldude-222
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
All you need is an if statementDon’t forgetThat's more complicated, more then just adding var + for change var by.
If on edge bounce :: motion
- HTML-Fan
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Two to be more precise. And some math. Maybe you haven't noticed, but that block does more then going to the opposite direction. It mirrors one axis. Anyway, kinda off-topic.All you need is an if statementDon’t forgetThat's more complicated, more then just adding var + for change var by.
If on edge bounce :: motion
Last edited by HTML-Fan (July 28, 2020 15:21:29)
- cooldude-222
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
I guess you are rightTwo to be more precise. And some math. Maybe you haven't noticed, but that block does more then going to the opposite direction. It mirrors one axis. Anyway, kinda off-topic.All you need is an if statementDon’t forgetThat's more complicated, more then just adding var + for change var by.
If on edge bounce :: motion
- dimayajonelcid
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
I don't really post in the forums, but hey, first post?
Anyway, I would like to support this because this is a very great idea about running 2 lines of code at once in just one script. It would make projects simpler, and the BEST part about it? I could really use the shown block in my projects:
It is near impossible to stop a single script while in a scenario like the block (wait (5) seconds) without this block.
So, yeah. this would really make things simpler in scratch projects, especially when using “stop this script.”
Anyway, I would like to support this because this is a very great idea about running 2 lines of code at once in just one script. It would make projects simpler, and the BEST part about it? I could really use the shown block in my projects:
stop [this script v]
It is near impossible to stop a single script while in a scenario like the block (wait (5) seconds) without this block.
So, yeah. this would really make things simpler in scratch projects, especially when using “stop this script.”
Last edited by dimayajonelcid (Aug. 2, 2020 02:01:09)
- EpicGhoul993
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
I don't really post in the forums, but hey, first post?Nice first post!
Anyway, I would like to support this because this is a very great idea about running 2 lines of code at once in just one script. It would make projects simpler, and the BEST part about it? I could really use the shown block in my projects:stop [this script v]
It is near impossible to stop a single script while in a scenario like the block (wait (5) seconds) without this block.
So, yeah. this would really make things simpler in scratch projects, especially when using “stop this script.”
I agree with the idea.

- -Rex-
-
Scratcher
500+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
I don't really post in the forums, but hey, first post?It is actually very easy to stop a running script from another script if you use broadcasts.
Anyway, I would like to support this because this is a very great idea about running 2 lines of code at once in just one script. It would make projects simpler, and the BEST part about it? I could really use the shown block in my projects:stop [this script v]
It is near impossible to stop a single script while in a scenario like the block (wait (5) seconds) without this block.
So, yeah. this would really make things simpler in scratch projects, especially when using “stop this script.”
set [stopScript v] to [false] // when you want to start the script
broadcast [example v]
...
set [stopScript v] to [true] // when you want to stop the script
broadcast [example v]
when I receive [example v]This works because broadcast receivers will restart if the broadcast is sent while still running.
if <(stopScript) = [false]> then
script contents :: grey stack
end
Last edited by -Rex- (Aug. 2, 2020 05:18:11)
- ZaqGames
-
Scratcher
3 posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Actually, running 2 things at once is near impossible or you will run in a problem like
when green flag clickedBut will it say “Lorem” or it won't?
set [my energy units] to [0]
do two things at once
set [my energy units] to [1000]
and
if <[my energy units] = [1000]> then
say [Lorem] for (1) secs
end
end
- -InsanityPlays-
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
No support. If you want blocks to be run at the same time, just do:
define run while runningand check “run without screen refresh”
...
...
Last edited by -InsanityPlays- (Aug. 2, 2020 07:13:35)
- Scratcheur-2020
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
while <> {
}::controlI maked one here : Hacked Block Collection v2.2- LankyBox01
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
when green flag clicked
broadcast [Script1 v]
broadcast [Script2 v]
when I receive [Script1 v]
...
when i receive [Script2 v]
...
- cooldude-222
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Did you read the op the idea is to do this in a custom blockwhen green flag clicked
broadcast [Script1 v]
broadcast [Script2 v]
when I receive [Script1 v]
...
when i receive [Script2 v]
...
- BosenChang
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Does not work with custom blocks! How much times do I have to repeat this?when green flag clicked
broadcast [Script1 v]
broadcast [Script2 v]
when I receive [Script1 v]
...
when i receive [Script2 v]
...
*silly beast 60-second rule. Met up nearly 15 times, or much more.*
- imabanana22
-
Scratcher
500+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
This Topic has come far. Anyways, support because it would be easier to make custom block
- EpicGhoul993
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Actually, running 2 things at once is near impossible or you will run in a problem likeSame question.when green flag clickedBut will it say “Lorem” or it won't?
set [my energy units] to [0]
do two things at once
set [my energy units] to [1000]
and
if <[my energy units] = [1000]> then
say [Lorem] for (1) secs
end
end
- scratch978654
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Actually you can still use broadcasts in CBs.
- Maximouse
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Actually you can still use broadcasts in CBs.Yes, but
- “when I receive” blocks have to be outside the custom block;
- if it's run without screen refresh, broadcasts will run after the block returns.