Users Manual

SCRATCH CODING KIT
If you press the button sensor while the car is running, all operations must be stopped. If so, you can add a
conditional statement to the 'Monitor_process' script that provides context awareness. The conditional statement
that stops all operation when button sensor is pressed is as below.
I think you could easily make the above conditional statements easy enough. This conditional should be included
in the 'Monitor_process' script! Press the button sensor, which is a sensor connected to the digital port 3, to
broadcast the script 'all_stop' and stop the 'monitor_process' script. The 'all_stop' script puts the steering wheel
in the forward direction, stops the DC motor and stops all scripts.
The script 'all_stop' is created as above! Place the servo motor angle in the forward direction of the steering wheel
and stop the DC motor. Wait for a second and then stop the entire action with the 'Stop All' block, which stops
all scripts on the scratch screen.
If you add the two scripts above, you can stop the entire operation with the button sensor!
Commentary
Stop operation using button sensor