Discuss Scratch
- Discussion Forums
- » Suggestions
- » New Way of Hat Blocks
- Pandan_the_coder
-
Scratcher
100+ posts
New Way of Hat Blocks
What I would like each hat block to look like:
You can name scripts whatever you like. And the stop block would look like this:
It would be easier to stop scripts that way.
when something happens [script1 v] :: hat events
You can name scripts whatever you like. And the stop block would look like this:
stop [script1 v] :: cap control
It would be easier to stop scripts that way.
Last edited by Pandan_the_coder (Jan. 30, 2022 15:17:26)
- -TheRealLegend-
-
Scratcher
100+ posts
New Way of Hat Blocks
There is already a block that looks like.
and you can also already name the message.
when I receive [ v]
and you can also already name the message.
- I_LOVE_TO_MAKE_STUFF
-
Scratcher
1000+ posts
New Way of Hat Blocks
What I would like each hat block to look like:You could litterally use these:when something happens [script1 v] :: hat events
You can name scripts whatever you like. And the stop block would look like this:stop [script1 v] :: cap control
It would be easier to stop scripts that way.
stop [this script v]And broadcast events
broadcast [event v]No Support
when I receive [event v]
- musicROCKS013
-
Scratcher
1000+ posts
New Way of Hat Blocks
It could be useful, but there is probably an easy workaround.
- _nix
-
Scratcher
1000+ posts
New Way of Hat Blocks
This is a pretty advanced trick, but there actually is a workaround for stopping individual scripts — it uses “when I receive”, but you can connect the “broadcast” block to whatever hat block you like, so it can do the exact thing you're suggesting! It's tricky to explain in a forum post but I made an example… back in… um, 2016, wow
https://scratch.mit.edu/projects/102386711/
This suggestion is also being discussed in a couple other places:
https://scratch.mit.edu/projects/102386711/This suggestion is also being discussed in a couple other places:
- Stop a Certain Script Block, which isn't precisely the same idea, but is a “stop specific script” block that would have the same effect, and is an old and still-active topic
- Ability to stop certain scripts or sprites, which is the same idea (stopping script according to a name you attach), but a bit less active
- Discussion Forums
- » Suggestions
-
» New Way of Hat Blocks




