Archive.png This article or section documents an attribute not included in the current version of Scratch (3.0). It is only useful from a historical perspective.
Document stub.png This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (July 2017)
When () () ()
When () () ().png
Category PicoBoards
Type Hat
Introduced in 2.0

The When () block is a PicoBoard block and a Hat block. The block activates when one of the items in the first dropdown menu goes above or below a specified number.

Note Note: This block can only be used with a PicoBoard.


The block has the following options in the first drop-down menu:

  • slider
  • light
  • sound
  • resistance-A
  • resistance-B
  • resistance-C
  • resistance-D

The block has the following options in the second drop-down menu:

  • <
  • >

See Also