In other languages

Help the wiki!

The Scratch Wiki is made by and for Scratchers. Do you want to contribute?

Learn more about joining as an editor!

See discussions in the Community Portal

() Sensor Value (block)

() Sensor Value
2.0 () Sensor Value.png
Category Sensing (PicoBoards in 2.0)
Type Reporter

The () Sensor Value block is a Sensing block and a Reporter block. The block reports various values on a PicoBoard, a LEGO Education WeDo Robotics Kit and Mesh.

The values for PicoBoards:

  • Slider
  • Light
  • Sound
  • Resistance on its ports (A, B, C, and D)

The values for LEGO Education WeDo Robotics Kits:

  • Its tilt
  • Its distance

The values for Mesh:

Remote Sensor Connections

This block can only be used with a PicoBoard, a LEGO Education WeDo Robotics Kit or Mesh.

Scratch 2.0

In 2.0, this block is only for PicoBoards. The LEGO WeDo values are separated into new blocks: Tilt and Distance. Mesh and RSC are not supported.

Example Uses

As this block lets the project communicate with the outside world, it can be used to operate projects without using the keyboard and mouse; instead, the slider can be moved, noises made, etc.

Some common uses for the () Sensor Value block:

  • Controlling a project
  • Letting the Scratcher physically interact with the project
  • Offering a different type of way to operate a project
  • Getting the value of another program's variable in Mesh

See Also

  • This page was last modified on 3 September 2014, at 19:25.