Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » What are the oporater blocks?
- medians
-
Scratcher
1000+ posts
What are the oporater blocks?

And <[] contains []?> because the version I use for my screenshots and my projects doesn't have that.
To see more info on what these do, see:
https://cdn.scratch.mit.edu/scratchr2/static/__0e83330413f7a7b5731284573c98ccdc__/help/en/home.html
Last edited by medians (March 17, 2023 20:35:01)
- ARandomNumberIs7482
-
Scratcher
1000+ posts
What are the oporater blocks?
Please tell me.Operators are blocks (not really blocks, but I don't know what to call them) that can perform mathematic equations.
- ARandomNumberIs7482
-
Scratcher
1000+ posts
What are the oporater blocks?
Booleans are actually supposed to be called “predicaments”The general name for these blocks are “reporters” because they report a value. Reporters with triangle ends are boolean reporters since they return either true or false.Please tell me.Operators are blocks (not really blocks, but I don't know what to call them)
Also thanks
- SavetheAtlantic
-
Scratcher
1000+ posts
What are the oporater blocks?
Not true.Booleans are actually supposed to be called “predicaments”The general name for these blocks are “reporters” because they report a value. Reporters with triangle ends are boolean reporters since they return either true or false.Please tell me.Operators are blocks (not really blocks, but I don't know what to call them)

- CST1229
-
Scratcher
1000+ posts
What are the oporater blocks?
(#5)Snap! calls boolean blocks “predicates”:
Booleans are actually supposed to be called “predicaments”

(it also calls stack blocks command blocks, but I think Scratch moreso uses “stack block” and “Boolean block” for commands and predicates, from the source code.)
Last edited by CST1229 (March 18, 2023 08:03:32)
- greatman1111
-
Scratcher
100+ posts
What are the oporater blocks?
Operator blocks perform mathematical equations.
And you can use
And you can use
<[] = []>to see if the user has a certain username.
- Im_KookiereeSoHI
-
Scratcher
100+ posts
What are the oporater blocks?
Please tell me.Well, you know how symbols like “+” and “-” Are called operations? Almost everything in that section has to do with math like the
(() mod ())operator seperates the remainder.
Last edited by Im_KookiereeSoHI (March 19, 2023 14:33:15)
- B0o0lean
-
Scratcher
1000+ posts
What are the oporater blocks?
to add, the operators aren't meant to be stacked in code themselves; instead they report values and you're meant to put them in blocks
they perform mathematical equations and relate to strings. they work with true/false values and handle strings, so they're useful if you want to perform equations or write different words
they perform mathematical equations and relate to strings. they work with true/false values and handle strings, so they're useful if you want to perform equations or write different words
- ZboysCode863
-
Scratcher
68 posts
What are the oporater blocks?
(() + (0))These are math blocks. They just solve whatever you put in it.
(() - (0))
(() - (0))
(() / (0))
(pick random () to (10))Like what it says, it picks between the first number to the second one. (For example, if it's:
(pick random (3) to (15)), then it picks either 3,4,5,6,7,8,9,10,11,12,13,14 or 15.)
<[] < []>These are comparison booleans. It decides if the equation in it is true or false.
<[] = []>
<[] > []>
These operators are simular, but have different operations.<<> and <>>This is another boolean. If both sides are true, it'll set this block to true. If only one or none of them are true, then this boolean will be set false.<<> or <>>This is the “Or” boolean. It's like the “And” boolean, but if one side is true, then the “Or” boolean will be set true. (basically, it's picking between both operations. You can have more than one<<> or <<> or <<> or <>>>>
<not <>>This is the “Not” Boolean. If it's false, then the “Not” will set it to true. If the operator in it is true, then the “Not” will be set to false.
(join [hello] [world])This operator joins two values / words together. That means, it'll set it to “helloworld” (Like the “Or” boolean, you can add as many “join” together.)
(letter (3) of [world])This operator checks what letter (first value) is in the word (second value). So, if you are looking for letter 3 of world, it will be “r”.
(length of [world])This operator checks how long (in characters) the value / word is. So, if you are looking for how many letters are in world, you'll get 5.
More info about the operators can be found here: https://projects.raspberrypi.org/en/projects/getting-started-scratch/11
Hope this helped!
- ARandomNumberIs7482
-
Scratcher
1000+ posts
What are the oporater blocks?
oh god i said it wrong COUGH COUGH(#5)Snap! calls boolean blocks “predicates”:
Booleans are actually supposed to be called “predicaments”
(it also calls stack blocks command blocks, but I think Scratch moreso uses “stack block” and “Boolean block” for commands and predicates, from the source code.)
- medians
-
Scratcher
1000+ posts
What are the oporater blocks?
Well, they're oval blocks known as reporters.Please tell me.Operators are blocks (not really blocks, but I don't know what to call them) that can perform mathematic equations.
Also, if you want this block to generate decimals, you can put a dot like this:
(pick random (3.) to (10))
- 54387a
-
Scratcher
1000+ posts
What are the oporater blocks?
Operators are a group of blocks that do comparing, calculate certain properties of text and math.
Example:<[]=[]>or
<[]contains[]?::operators>
<not<>>
<<>and<>>
<<>or<>>(()+())
(()-())
(join[][])
(pick random()to())
Last edited by 54387a (March 21, 2023 03:52:55)
- Discussion Forums
- » Questions about Scratch
-
» What are the oporater blocks?
