Discuss Scratch

Dracandros
Scratcher
31 posts

Boolean variables :D

kNoobLauch wrote:

Hey, often when I'm working with scratch I need variables which has only two conditions, true or false.
Would be cool if there were variable type.

(Sry 4 bad english… I need a signature )
do you mean this?:
<CostumeVariable::variables>

Last edited by Dracandros (Oct. 4, 2025 05:28:26)

CodeComet6161
Scratcher
1000+ posts

Boolean variables :D

CodeComet6161 wrote:

bump
tagrim123
Scratcher
500+ posts

Boolean variables :D

CodeComet6161 wrote:

bump
mehonje
Scratcher
32 posts

Boolean variables :D

Support.

stevetheipad wrote:

One of the goals of Scratch is to make it easy to use and simple to learn. Booleans are more complicated and are often used in large, complex code. Since the only people that would want booleans would be those who have more experience in programming, they would also know how to create booleans within the limitations of Scratch. This being so, it's not really a feature I'd like to see added, nor do I think the Scratch Team should spend time working on this type of featured at the moment.
Booleans are one of the easiest computer science concepts to understand. There's not much to learn about the difference between true and false.
medians
Scratcher
1000+ posts

Boolean variables :D

mehonje wrote:

Support.

stevetheipad wrote:

One of the goals of Scratch is to make it easy to use and simple to learn. Booleans are more complicated and are often used in large, complex code. Since the only people that would want booleans would be those who have more experience in programming, they would also know how to create booleans within the limitations of Scratch. This being so, it's not really a feature I'd like to see added, nor do I think the Scratch Team should spend time working on this type of featured at the moment.
Booleans are one of the easiest computer science concepts to understand. There's not much to learn about the difference between true and false.
Also, I feel like if they can understand the already existing boolean blocks in Scratch, then they'll be able to understand boolean variables.

Powered by DjangoBB