FANDOM


Forever if ()
Forever if
Category Control
Type C

The Forever if () block is a Control Block and a C Block. It is used to read boolean statements, and will take action if they are read as true.

DiscussionEdit

There have been multiple campaigns to remove this block[1], as it can easily be replicated with the following code:

What the forever if block is

Despite its alternative, it has an advantage: it runs some milliseconds faster, which is useful in projects with extreme lag.

A disadvantage, however, is that it can only read one if statement - scripting its alternative is of more use, because it can hold unlimited if statements.

Common usesEdit

Despite its alternative, this block is still used. Some examples of uses are below:

  • Reducing lag
  • Swift script construction
  • Simply reading booleans

ReferencesEdit

  1. http://scratch.mit.edu/forums/viewtopic.php?id=25927 Delete the Forever If block