Discuss Scratch
- Discussion Forums
- » Suggestions
- » Boolean Value Blocks Returning Condition
- Leekalo
- Scratcher
100+ posts
Boolean Value Blocks Returning Condition
Boolean Value Blocks are the blocks that return True or False, like the ‘Key (key) Pressed?’ block.
I'm suggesting that they also return the condition like for example I want to get what key is pressed so I can detect if it has the name of an item in a list or not, and an another example, I want to get the equation for the block ‘15 > 56’, so I get ‘15>56’ and get the Boolean value of the equation.
Scratch should be able to detect what the user wants from the block, the condition or the Boolean value of it.
So can the Scratch Team add the ability to do that? Because it can allow for so much efficiency in people's code.
I'm suggesting that they also return the condition like for example I want to get what key is pressed so I can detect if it has the name of an item in a list or not, and an another example, I want to get the equation for the block ‘15 > 56’, so I get ‘15>56’ and get the Boolean value of the equation.
Scratch should be able to detect what the user wants from the block, the condition or the Boolean value of it.
So can the Scratch Team add the ability to do that? Because it can allow for so much efficiency in people's code.
You may not see a common appearance of me in the forums, but remember,
every announcement, every introduction, every request, every link, every idea, every collaboration, every question, every suggestion, every bug, every advancing, every connection, every extension, every open, every creation, every reading, every playing,
has been in my sight once.
- ResExsention
- New to Scratch
1000+ posts
Boolean Value Blocks Returning Condition
But Scratch booleans really are booleans…
They return true or false.
They return true or false.
Infrequently active.
It feels weird to see how far we've come. I hope you're well, wherever you are!
- Leekalo
- Scratcher
100+ posts
Boolean Value Blocks Returning Condition
The user can get the Boolean or the condition(like a key pressed block would also return what key the user pressed even if it's not the required key) But Scratch booleans really are booleans…
They return true or false.
You may not see a common appearance of me in the forums, but remember,
every announcement, every introduction, every request, every link, every idea, every collaboration, every question, every suggestion, every bug, every advancing, every connection, every extension, every open, every creation, every reading, every playing,
has been in my sight once.
- iruxgame
- Scratcher
100+ posts
Boolean Value Blocks Returning Condition
you could work around detecting what key was pressed but it is a long script
achievements:
100 posts::#A34352
became a scratcher::#A34352
first game uploaded::#A34352
first forum post::#A34352
welcome to scratch!::#A34352
- Leekalo
- Scratcher
100+ posts
Boolean Value Blocks Returning Condition
It's not just the keys, it's for all Boolean returner blocks, but thanks for telling me it's atleast possible to do it with keys using a work around. you could work around detecting what key was pressed but it is a long script
You may not see a common appearance of me in the forums, but remember,
every announcement, every introduction, every request, every link, every idea, every collaboration, every question, every suggestion, every bug, every advancing, every connection, every extension, every open, every creation, every reading, every playing,
has been in my sight once.
- Leekalo
- Scratcher
100+ posts
Boolean Value Blocks Returning Condition
bump
You may not see a common appearance of me in the forums, but remember,
every announcement, every introduction, every request, every link, every idea, every collaboration, every question, every suggestion, every bug, every advancing, every connection, every extension, every open, every creation, every reading, every playing,
has been in my sight once.
- Leekalo
- Scratcher
100+ posts
Boolean Value Blocks Returning Condition
Bump
You may not see a common appearance of me in the forums, but remember,
every announcement, every introduction, every request, every link, every idea, every collaboration, every question, every suggestion, every bug, every advancing, every connection, every extension, every open, every creation, every reading, every playing,
has been in my sight once.
- Maximouse
- Scratcher
1000+ posts
Boolean Value Blocks Returning Condition
You mean like this?
(key pressed :: sensing)
- Leekalo
- Scratcher
100+ posts
Boolean Value Blocks Returning Condition
Yes! You mean like this?(key pressed :: sensing)
You may not see a common appearance of me in the forums, but remember,
every announcement, every introduction, every request, every link, every idea, every collaboration, every question, every suggestion, every bug, every advancing, every connection, every extension, every open, every creation, every reading, every playing,
has been in my sight once.
- Leekalo
- Scratcher
100+ posts
Boolean Value Blocks Returning Condition
Bump
You may not see a common appearance of me in the forums, but remember,
every announcement, every introduction, every request, every link, every idea, every collaboration, every question, every suggestion, every bug, every advancing, every connection, every extension, every open, every creation, every reading, every playing,
has been in my sight once.
- gosoccerboy5
- Scratcher
1000+ posts
Boolean Value Blocks Returning Condition
Looks like this is a duplicate topic of this topic! To keep the discussion in on place, please continue talking there.
This action was carried out by a bot. If I have made any mistake, just tell me, or contact me here.
Just kidding I'm not a bot, but please do correct me if I'm wrong.
This action was carried out by a bot. If I have made any mistake, just tell me, or contact me here.
Just kidding I'm not a bot, but please do correct me if I'm wrong.
- NanoPIex
- Scratcher
500+ posts
Boolean Value Blocks Returning Condition
this topic! To keep the discussion in on place, please continue talking there.Is that talking about variables are booleans? Looks like this is a duplicate topic of
This action was carried out by a bot. If I have made any mistake, just tell me, or contact me here.
Just kidding I'm not a bot, but please do correct me if I'm wrong.
L
- Leekalo
- Scratcher
100+ posts
Boolean Value Blocks Returning Condition
this topic! To keep the discussion in on place, please continue talking there.How can I delete the suggestion? Looks like this is a duplicate topic of
This action was carried out by a bot. If I have made any mistake, just tell me, or contact me here.
Just kidding I'm not a bot, but please do correct me if I'm wrong.
You may not see a common appearance of me in the forums, but remember,
every announcement, every introduction, every request, every link, every idea, every collaboration, every question, every suggestion, every bug, every advancing, every connection, every extension, every open, every creation, every reading, every playing,
has been in my sight once.
- NanoPIex
- Scratcher
500+ posts
Boolean Value Blocks Returning Condition
Scroll to the bottom of the screen and there will be a button close post, click.this topic! To keep the discussion in on place, please continue talking there.How can I delete the suggestion? Looks like this is a duplicate topic of
This action was carried out by a bot. If I have made any mistake, just tell me, or contact me here.
Just kidding I'm not a bot, but please do correct me if I'm wrong.
L
- Leekalo
- Scratcher
100+ posts
Boolean Value Blocks Returning Condition
There isn'tScroll to the bottom of the screen and there will be a button close post, click.this topic! To keep the discussion in on place, please continue talking there.How can I delete the suggestion? Looks like this is a duplicate topic of
This action was carried out by a bot. If I have made any mistake, just tell me, or contact me here.
Just kidding I'm not a bot, but please do correct me if I'm wrong.
You may not see a common appearance of me in the forums, but remember,
every announcement, every introduction, every request, every link, every idea, every collaboration, every question, every suggestion, every bug, every advancing, every connection, every extension, every open, every creation, every reading, every playing,
has been in my sight once.
- NanoPIex
- Scratcher
500+ posts
Boolean Value Blocks Returning Condition
Hm…well, the ST will close the topic soon for you, don`t worry!There isn'tScroll to the bottom of the screen and there will be a button close post, click.this topic! To keep the discussion in on place, please continue talking there.How can I delete the suggestion? Looks like this is a duplicate topic of
This action was carried out by a bot. If I have made any mistake, just tell me, or contact me here.
Just kidding I'm not a bot, but please do correct me if I'm wrong.
L
- Leekalo
- Scratcher
100+ posts
Boolean Value Blocks Returning Condition
I reported the topic earlier, so I guess I made the right choice.Hm…well, the ST will close the topic soon for you, don`t worry!There isn'tScroll to the bottom of the screen and there will be a button close post, click.this topic! To keep the discussion in on place, please continue talking there.How can I delete the suggestion? Looks like this is a duplicate topic of
This action was carried out by a bot. If I have made any mistake, just tell me, or contact me here.
Just kidding I'm not a bot, but please do correct me if I'm wrong.
You may not see a common appearance of me in the forums, but remember,
every announcement, every introduction, every request, every link, every idea, every collaboration, every question, every suggestion, every bug, every advancing, every connection, every extension, every open, every creation, every reading, every playing,
has been in my sight once.
- Discussion Forums
- » Suggestions
- » Boolean Value Blocks Returning Condition