Report the distance (from 0 to 100) detected by the LEGO WeDo distance sensor

Example

Set the sprite's horizontal position to the value of the distance.

Notes

To view the value of distance, click the checkbox next to the block in the palette.

To use distance, you need a distance sensor connected to your computer via a LEGO WeDo hub.