Block description

This block stops the current project/code running on the board.
Stop 1

App interface and usage

This block does not need any parameters to be set.

Guidelines

This block is best used with conditional statements that require the code to stop running when a condition is met.

Example

The below project continuously turns the LED on and off till proximity is detected by the IR sensor. The code continuously checks for the IR sensor's value and stops running this project on the board if it crosses 300.

Example

Also read

Break