Discuss Scratch
- Discussion Forums
- » Suggestions
- » do it please
- WolfPBCRC
-
Scratcher
26 posts
do it please
you should make an if green flag clicked and allow event blocks in block definitiohns
- -ElectronicArts-
-
Scratcher
1000+ posts
do it please
Is this important in the first place?
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
- Walimimi
-
Scratcher
1000+ posts
do it please
Is this important in the first place?Maybe they mean a If message1 received block? Because that could be useful..
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
- medians
-
Scratcher
1000+ posts
do it please
Uhm, just use the events hat blocks if you want to use it in the project. You don't really need to use a block definition for it. And you can't use hat blocks in them.
They said this though:Is this important in the first place?Maybe they mean a If message1 received block? Because that could be useful..
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
you should make an if green flag clicked
Last edited by medians (April 9, 2023 13:30:10)
- wikibro300000
-
Scratcher
1000+ posts
do it please
Do u mean something like this:
<@greenFlag clicked? :: events>If u do, this would be use less, u can just use:
when green flag clicked
Last edited by wikibro300000 (April 9, 2023 13:29:31)
- Walimimi
-
Scratcher
1000+ posts
do it please
Uhm, just use the events hat blocks if you want to use it in the project. You don't really need to use a block definition for it. And you can't use hat blocks in them.True, butThey said this though:Is this important in the first place?Maybe they mean a If message1 received block? Because that could be useful..
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.you should make an if green flag clicked
and allow event blocks in block definitiohnsSo it might be any event block.
- wikibro300000
-
Scratcher
1000+ posts
do it please
That block is rejected I thinkIs this important in the first place?Maybe they mean a If message1 received block? Because that could be useful..
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
- medians
-
Scratcher
1000+ posts
do it please
True, butand allow event blocks in block definitiohnsSo it might be any event block.

You can't put any hat block there, and those are the only non-hat event blocks so far.
- Walimimi
-
Scratcher
1000+ posts
do it please
I know. You are right!True, butand allow event blocks in block definitiohnsSo it might be any event block.
You can't put any hat block there, and those are the only non-hat event blocks so far.
- WolfPBCRC
-
Scratcher
26 posts
do it please
What i meant was that if that user has clicked the green flag already since after they clicked on the project.Is this important in the first place?Maybe they mean a If message1 received block? Because that could be useful..
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
- wikibro300000
-
Scratcher
1000+ posts
do it please
You can just use this:What i meant was that if that user has clicked the green flag already since after they clicked on the project.Is this important in the first place?Maybe they mean a If message1 received block? Because that could be useful..
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
when green flag clicked
- waitwhat2288
-
Scratcher
100+ posts
do it please
I know that some projects run from the assist of other hat blocks that aren't a “when green flag clicked” but I can't really find this being useful in that many scenarios. It's also a bit ambiguous what this would do, like if the green flag was already clicked or if it was clicked on said frame when the boolean is scanned. Saying that this is pretty easy to replicate via the “when green flag clicked” hat block, I think this would just make things more over-complicated then it should be.
Last edited by waitwhat2288 (April 9, 2023 21:58:35)
- unmissable
-
Scratcher
1000+ posts
do it please
I think we need clarification on what this block is before we discuss it being implemented.
- medians
-
Scratcher
1000+ posts
do it please
Does this include refreshing or if they go back to the page?What i meant was that if that user has clicked the green flag already since after they clicked on the project.Is this important in the first place?Maybe they mean a If message1 received block? Because that could be useful..
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
- wikibro300000
-
Scratcher
1000+ posts
do it please
I think we need clarification on what this block is before we discuss it being implemented.I think he means this:
< @greenFlag clicked? :: events>
Last edited by wikibro300000 (April 10, 2023 05:24:56)
- unmissable
-
Scratcher
1000+ posts
do it please
Well then that wouldn't work, as the project would be reset.I think we need clarification on what this block is before we discuss it being implemented.I think he means this:< @greenFlag clicked? :: events>
There are people who'd use it, but a workaround exists (the UTDPs one) and even though it's complicated, it works, so I doubt ST will add this.
Last edited by unmissable (April 10, 2023 20:35:48)
- Walimimi
-
Scratcher
1000+ posts
do it please
OrI think we need clarification on what this block is before we discuss it being implemented.I think he means this:< @greenFlag clicked? :: events>
< [Message1 v] received? :: events>
- k7e
-
Scratcher
1000+ posts
do it please
if @greenFlag clicked then {
} :: control
define custom
when I receive [ v] :: events stack- wikibro300000
-
Scratcher
1000+ posts
do it please
That block is rejectedOrI think we need clarification on what this block is before we discuss it being implemented.I think he means this:< @greenFlag clicked? :: events>< [Message1 v] received? :: events>
1.1 page=1#post-634620]“Broadcast received” boolean block
This would allow a project to detect when a broadcast is sent. But, there is a lot of ambiguity on how this would work. Would it return true if the broadcast was fired since the project was created, since the green flag was clicked, or since something else was broadcasted? The workaround is simple: use variables that change when a broadcast is received, then use the “equals” block.
However, the blocks “repeat until broadcast received” and “wait until broadcast received” are NOT rejected; you can discuss them on this topic.<[message v] received? :: events>
Last edited by wikibro300000 (April 11, 2023 06:12:35)
- Discussion Forums
- » Suggestions
-
» do it please







