From Test-Scratch-Wiki

Translate: - English 
Archive.png This article or section documents a feature not included in the current version of Scratch (2.0). It is only useful from a historical perspective.
Document stub.png This article is a stub. It may be broken, incomplete, unfinished, or have missing parts/sections. If you can help expand this article, please help! There might be suggestions on its talk page.
An example of the red border caused by a scripting error while using lists.
An example of the red border around the Scratch blocks caused by the error.

There was a system in Scratch 1.4 that detects scripting errors or other problems.

If, while running a project, The Scratch Program finds a mistake, it will attain a red border around the script and stop the program from running any further. The block (or blocks) causing the problem will turn red.

Causes

Errors can be caused by the following:

  • Dividing by zero
  • Using an invalid input in function block (operators)
  • Using a motion block in the Stage
  • Attempting to access the nth item of a list where n<0

Turning off Error Catching

To turn the Error Catching off, press the R in the Scratch logo while holding shift and press the "turn error catching off" option.