if block


Description:

If test is true, the agent will run the blocks attached to then

Arguments:

test (boolean): The condition being tested.

then (commands): The set of instructions that is done when the condition is true.

Examples:

This moves blue agents forward 1.