Manual

7. Checking the Value Returned by Ultrasound Sensor
※ EXAMPLE ※
Make Kamibot move forward, and make it
move backwards when there is an
obstacle 5 centimeters in front of it.
Blocks used:
-When clicked
-Forever
-Say
-If else
- c < c
-Ultrasonic sensor
-Move forward speed
-Move backward speed
We will make the Kamibot sprite on the stage say the value returned by the
ultrasound sensor.
26