Sensing is one of the ten categories of Scratch blocks. They are color-coded cyan, and are used to detect different factors of a project.
There are currently 18 Sensing blocks: 3 stack blocks, 5 boolean blocks and 10 reporter blocks.
Scratch 3.0 has the following 3 sensing stack blocks:
|Note:||Click on a block to find out more about it.|
Scratch 3.0 has the following 5 sensing boolean blocks:
<touching ( v)?>
<touching color [#F3A533]?>
<color [#FFFFFF] is touching [#F3A533]?>
<key ( v) pressed?>
Scratch 3.0 has the following 10 sensing reporter blocks:
(distance to ( v)
([ v] of ( v))
(current [ v])
(days since 2000)
|This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective.|
- Main article: PicoBoard Blocks
In Scratch 1.4 and other previous versions of Scratch, there was a subcategory called Sensor Blocks, also colored blue, that included () Sensor Value and Sensor ()?. They were used to communicate with external hardware or programs, like the PicoBoard. They were recolored dark grey in the Scratch 2.0 prealpha and only appeared in the Stage's palette. However, they were later re-classified as an extension and made only accessible through the extensions menu.