Block description

This block immediately terminates the loop containing it and the control flows to the next statement outside the loop.

App interface and usage

This block does not need any parameters.
Break 1

Guidelines

The block can be placed anywhere in a project, but is intended to be used within loops

Example

This project continuously monitors the motion sensor and turns the LED on (Color red) and off continuously. When motion is detected, the LED is turned red and the buzzer is turned on.
The Break block is used to exit the current loop [Loop(Infinity)] block when the condition is met.
Break Example

Also read

Stop