Discuss Scratch
- Discussion Forums
- » Suggestions
- » I recieve _______ block
- Savio-5002
-
45 posts
I recieve _______ block
Do you think you could add a “I receive _ block”?
Here's an example:
.
Here's an example:
<I receive []>And here's it being used:
repeat until <I receive []>Never mind, it's clearly a bad idea
end
wait until <I receive []>

Last edited by Savio-5002 (Aug. 28, 2016 14:13:34)
- agarraga
-
500+ posts
I recieve _______ block
9. <broadcast received> boolean
There is way too much ambiguity to how this would work. Would it return true of the broadcast was fired at any point since the project was created, since the green flag was clicked, since something else was broadcasted, etc.? If you really want to do something like this, instead just make a variable and set it to 1 and use the equals block.
There is way too much ambiguity to how this would work. Would it return true of the broadcast was fired at any point since the project was created, since the green flag was clicked, since something else was broadcasted, etc.? If you really want to do something like this, instead just make a variable and set it to 1 and use the equals block.
- christianxyz
-
100+ posts
I recieve _______ block
9. <broadcast received> boolean
There is way too much ambiguity to how this would work. Would it return true of the broadcast was fired at any point since the project was created, since the green flag was clicked, since something else was broadcasted, etc.? If you really want to do something like this, instead just make a variable and set it to 1 and use the equals block.
Do you think you could add a “I receive _ block”?
Here's an example:<I receive []>And here's it being used:repeat until <I receive []>
end
wait until <I receive []>
<I recieve ::events> //block
- edward789121
-
500+ posts
I recieve _______ block
you mean
wait until i recieve [ v] ::eventsif not, this is already rejected by the stickies.
repeat until i recieve [ v]{} ::events
- Harakou
-
1000+ posts
I recieve _______ block
Hi! Please check out our list of stuff not to suggest - while we can see how such a block might be useful, it has the problem of being a bit ambiguous, meaning that it might not behave as expected in a lot of situations. Because of this, we don't intend to implement it, sorry.
Keep thinking of ideas!
9. <broadcast received> boolean
There is way too much ambiguity to how this would work. Would it return true of the broadcast was fired at any point since the project was created, since the green flag was clicked, since something else was broadcasted, etc.? If you really want to do something like this, instead just make a variable and set it to 1 and use the equals block.
Keep thinking of ideas!
- Discussion Forums
- » Suggestions
-
» I recieve _______ block