m (Unneeded code)
(Blocks: Updated the section to match 3.0)
Line 5: Line 5:
 
== Blocks ==
 
== Blocks ==
 
{{note|Click on a block to visit its individual wiki page.}}
 
{{note|Click on a block to visit its individual wiki page.}}
[[Scratch 2.0]] has the following 4 Sensing Stack blocks:
+
[[Scratch 3.0]] has the following 3 Sensing Stack blocks:
  
 
* [[Ask () and Wait (block)|<sb>ask [What's your name?] and wait</sb>]]
 
* [[Ask () and Wait (block)|<sb>ask [What's your name?] and wait</sb>]]
 
* [[Reset Timer (block)|<sb>reset timer</sb>]]
 
* [[Reset Timer (block)|<sb>reset timer</sb>]]
* [[Turn Video () (block)|<sb>turn video [on v]</sb>]]
+
* [[Set Drag Mode () (block)|<sb>set drag mode [draggable v]</sb>]]
* [[Set Video Transparency to ()% (block)|<sb>set video transparency to (50)%</sb>]]
 
  
Scratch 2.0 has the following 5 Sensing Boolean blocks:
+
Scratch 3.0 has the following 5 Sensing Boolean blocks:
  
 
* [[Touching ()? (block)|<sb><touching [ v]?></sb>]]
 
* [[Touching ()? (block)|<sb><touching [ v]?></sb>]]
Line 20: Line 19:
 
* [[Mouse Down? (block)|<sb><mouse down?></sb>]]
 
* [[Mouse Down? (block)|<sb><mouse down?></sb>]]
  
Scratch 2.0 has the following 11 Sensing Reporter blocks:
+
Scratch 3.0 has the following 10 Sensing Reporter blocks:
  
 
* [[Distance to () (block)|<sb>(distance to [ v]</sb>]]
 
* [[Distance to () (block)|<sb>(distance to [ v]</sb>]]
Line 28: Line 27:
 
* [[Loudness (block)|<sb>(loudness)</sb>]]
 
* [[Loudness (block)|<sb>(loudness)</sb>]]
 
* [[Timer (block)|<sb>(timer)</sb>]]
 
* [[Timer (block)|<sb>(timer)</sb>]]
* [[Video () on () (block)|<sb>(video [motion v] on [this sprite v])</sb>]]
 
 
* [[() of () (Sensing block)|<sb>([x position v] of [Sprite1 v])</sb>]]
 
* [[() of () (Sensing block)|<sb>([x position v] of [Sprite1 v])</sb>]]
 
* [[Current () (block)|<sb>(current [minute v])</sb>]]
 
* [[Current () (block)|<sb>(current [minute v])</sb>]]

Revision as of 14:08, 19 February 2020

Archive.png
The subject of this article or section has changed dramatically and requires updating. Please keep in mind that some of the information or images may not be accurate or relevant to the current version of Scratch, the Scratch website, or the article subject. (January 2019)
Specifically: Outdated by Scratch 3.0 release.

Sensing blocks is one of the ten categories of blocks. They are color-coded light blue, and are used to detect different factors of a project.

There are currently 20 Sensing blocks: 4 Stack blocks, 5 Boolean blocks and 11 Reporter blocks.

Blocks

Note Note: Click on a block to visit its individual wiki page.

Scratch 3.0 has the following 3 Sensing Stack blocks:

Scratch 3.0 has the following 5 Sensing Boolean blocks:

Scratch 3.0 has the following 10 Sensing Reporter blocks:

PicoBoard Blocks

Main article: PicoBoard Blocks
The () Sensor Value block in Scratch 1.4
The Sensor ()? block in Scratch 1.4
The blocks in the 2.0 prealpha

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.[citation needed] However, they were later re-classified as an extension and made only accessible through the extensions menu.