Discuss Scratch
- Discussion Forums
- » Suggestions
- » Stop a Certain Script Block
- Tommy100
-
100+ posts
Stop a Certain Script Block
Currently stop blocks only include: stop all, stop this script, stop other scripts in sprite. I really need this script for my game. Can you make another stop block option. Stop a certain script. I was thinking you would drag down from the stop script and when you clicked the option it would ask you, “Which script would you like to be stopped?” and then you would click on the script in the sprite. Would anyone find this script helpful? I would like Scratch Team to check this out.
- Nether_before
-
1000+ posts
Stop a Certain Script Block
Support because this would be useful

- Tommy100
-
100+ posts
Stop a Certain Script Block
Thanks! Support because this would be useful
- matey1234
-
1000+ posts
Stop a Certain Script Block
you can just put a stop this script in your script. no support.
- The_Scratch_Squad
-
1000+ posts
Stop a Certain Script Block
Workaround:
This would most likely work, so no support.
- Tommy100
-
100+ posts
Stop a Certain Script Block
The problem is, if you have to use wait blocks or glide blocks and you need the script to stop right away then it wouldn't work. Here's why I need that block: I'm making a game and in the enemy's script I need it. Here's the scripts: you can just put a stop this script in your script. no support.
etc.
For the second script:
For the last script:
So as you can see, I can't put if <something> inside script 2 because it uses wait blocks. (Unless I used like 50 wait blocks like 0.01 second. Then if <this> then like 50 of those inside the same script!) I don't want script 1 to stop. I want script 3 to stop script 2. Do you get it now?
- LP_Play
-
1000+ posts
Stop a Certain Script Block
Thanks The_Scratch_Squad!
Last edited by LP_Play (July 29, 2016 21:09:10)
- BaconAndEggs1
-
1000+ posts
Stop a Certain Script Block
Check the last post date next time to avoid necroposting, this thread hasn't been active since April of last year. -snip-
Thanks The_Scratch_Squad!
- Scratcher1002
-
1000+ posts
Stop a Certain Script Block
Won't work. If someone clicked the sprite, and then met the requirements to stop the script, it'd just keep going because it will only check for this at the beginning of the script. Huge support. This could help a lot.
Thanks The_Scratch_Squad!
- Sheep_maker
-
1000+ posts
Stop a Certain Script Block
How would one select the script to stop? Would this also stop scripts outside the sprite/stage?
- LP_Play
-
1000+ posts
Stop a Certain Script Block
Oh yeah, thanks for reminding me, I forgot to check the date!Check the last post date next time to avoid necroposting, this thread hasn't been active since April of last year. -snip-
Thanks The_Scratch_Squad!
- iYoloPro
-
4 posts
Stop a Certain Script Block
My problem is when the background switches, I want it to stop repeating. And I set the stop block to this script.
- turkey3
-
1000+ posts
Stop a Certain Script Block
The problem is, if you have to use wait blocks or glide blocks and you need the script to stop right away then it wouldn't work. Here's why I need that block: I'm making a game and in the enemy's script I need it. Here's the scripts: you can just put a stop this script in your script. no support.
Once people get to more advanced coding, though, they will likely not use glide blocks and may replace wait blocks with variable timers, allowing it to still work.
- JobberWokker
-
3 posts
Stop a Certain Script Block
Either this function is broken in v 3.0 or something is wrong. Stop script does't seem to be working.
- gamebeater187
-
1000+ posts
Stop a Certain Script Block
Almost the hardest workaround ever, obviously the only harder workarounds are private messaging, cloud lists, “bounce” block, and so forth. Workaround:This would most likely work, so no support.
Besides, the workaround doesn't even work in 3.0.
Therefore, Support.
Last edited by gamebeater187 (Dec. 29, 2018 18:52:57)
- ZappyBarbecue10
-
20 posts
Stop a Certain Script Block
Support. Would help a lot with games with clones. Currently stop blocks only include: stop all, stop this script, stop other scripts in sprite. I really need this script for my game. Can you make another stop block option. Stop a certain script. I was thinking you would drag down from the stop script and when you clicked the option it would ask you, “Which script would you like to be stopped?” and then you would click on the script in the sprite. Would anyone find this script helpful? I would like Scratch Team to check this out.
- CalculatorFun
-
94 posts
Stop a Certain Script Block
If you want to stop a certain script, use the define block
- CodingKidz1544
-
39 posts
Stop a Certain Script Block
How would this work? Would scripts have to be numbered? No support.
- Discussion Forums
- » Suggestions
-
» Stop a Certain Script Block