In this recipe, we will use two local variables to control the number of units that two different birds have to move forward in each iteration. We will use a descriptive name for each variable, and therefore the purpose of the code will be easier to understand.
We will use an existing project that has a local variable declared to define the number of units that
birdBaby has to advance in each step. We will declare an additional local variable in the run procedure.