The if block executes a block of code if a specified condition is true.
To specify a condition, add a block to the if input.
if
To specify what should be executed if the condition is true, add blocks to the do input.
do
Last updated 7 years ago
if (condition) { // Do }