m (Suggestions)
m (re-worded because it sounded awkward)
Line 43: Line 43:
Instead, here is a workaround that is usually mentioned:<ref>[[post:60017]]</ref>
But there is the workaround that is usually mentioned.<ref>[[post:60017]]</ref>
This is the workaround:
set [variable v] to [true]
set [variable v] to [true]

Revision as of 06:18, 19 August 2019

"Green Blocks" redirects here. For the blocks that draw on the stage, see Pen Blocks.

Operators blocks is one of the ten categories of Scratch blocks. They are color-coded light-green, and are used to script math equations and string handling. It was previously titled Numbers Blocks, but was renamed in Scratch 1.4 due to new blocks that handled strings.

There are currently 18 Operators blocks: 7 Boolean blocks and 11 Reporter blocks. This and PicoBoard Blocks are the only categories to contain no Stack blocks.


Note Note: Click on a block to learn more about it.

Scratch 3.0 has the following 7 Operators Boolean Blocks:

Scratch 3.0 has the following 11 Operator Reporter blocks:

Obsolete Blocks

Prior to Scratch 1.2, the () of () block was two separate blocks, Abs () and Sqrt (), with no other mathematical functions.


Scratchers have suggested an Operators block that solves exponents.[1][2]

(() ^ ():: operators)

Some Scratchers have suggested true and false Booleans, however this has not been implemented, possibly due to the easy workaround.[3] Here is a sample of what such blocks might look like:


But there is the workaround that is usually mentioned.[4] This is the workaround:

set [variable v] to [true]

set [variable v] to [false]


  1. topic:9907
  2. topic:107714
  3. topic:150228
  4. post:60017