Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » My project won't respond when I press the green flag.
- Athena12913
-
6 posts
My project won't respond when I press the green flag.
I was making a project, and when I pressed the green button, nothing responded. Why is this happening?
- Catscratcher07
-
1000+ posts
My project won't respond when I press the green flag.
this is probably not scratch's problem, can we have a link to the project?
- Athena12913
-
6 posts
My project won't respond when I press the green flag.
Here's the link: https://scratch.mit.edu/projects/985887194/editor/
- alaix76
-
5 posts
My project won't respond when I press the green flag.
https://scratch.mit.edu/projects/985887194/editor/Here's the link:

- Catscratcher07
-
1000+ posts
My project won't respond when I press the green flag.
The project does respond to the green flag being clicked, the problematic script is this
I can't figure out why this fails to continue, maybe try starting this script with a broadcast triggered by the play button instead.
when green flag clicked
forever
next costume
wait (0.1) secs
end
I can't figure out why this fails to continue, maybe try starting this script with a broadcast triggered by the play button instead.
- Athena12913
-
6 posts
My project won't respond when I press the green flag.
I deleted that script, but the problem is, the scripts won't even glow when I press the green flag. And they only work if I press them directly.
Last edited by Athena12913 (March 21, 2024 20:08:02)
- HappyKid54321
-
100+ posts
My project won't respond when I press the green flag.
The project wasn’t shared. Please share the link so we can view it.
- NeonG4
-
1000+ posts
My project won't respond when I press the green flag.
It's likely due to a stop all block running right after the green flag clicked is pressed. I deleted that script, but the problem is, the scripts won't even glow when I press the green flag. And they only work if I press them directly.
when green flag clicked
set [stop v] to [no]
foreverSomething like this, where the stop variable doesn't get reset to no before it gets checked.
if <(stop) = [yes]> then
stop [all v]
end
end
One solution to this problem is to set all variables in a green flag, and after you set them broadcast “green flag”. Then, all other green flags will swap for a “when I receive green flag”
You could also put a wait block before the stop all.
wait (0) secs // waits one frame
forever
...
end
- alaix76
-
5 posts
My project won't respond when I press the green flag.
when green flag clicked
say [] for (2) secs
play sound [ v]
say [] for (2) secs
move () steps
forever
end
- HedwigsHat
-
1000+ posts
My project won't respond when I press the green flag.
no blockspamwhen green flag clicked
say [] for (2) secs
play sound [ v]
say [] for (2) secs
move () steps
forever
end
- Discussion Forums
- » Help with Scripts
-
» My project won't respond when I press the green flag.