0:00:00.329,0:00:06.040 An if-else statement is a decision between[br]two things. For example, IF Scrat the squirrel 0:00:06.040,0:00:11.880 finds the acorn, then he's happy. ELSE he's[br]sad, and keeps searching. Now let's see how 0:00:11.880,0:00:17.160 we can use an if-else statement with our buddy[br]Scrat. This block looks the same as the "if" 0:00:17.160,0:00:22.220 block, but there's an extra part on the bottom[br]that says "else". If I put a "move forward" 0:00:22.220,0:00:27.359 block where it says "do" and a "turn left"[br]block where it says "else", that means Scrat 0:00:27.359,0:00:31.710 the squirrel will move forward if there's[br]a path ahead. If there's not a path ahead, 0:00:31.710,0:00:37.490 Scrat will turn left. It's making a decision[br]and doing one of the two actions based on 0:00:37.490,0:00:42.360 that decision. And just like "if" blocks,[br]you can put "if-else" blocks inside "repeat" 0:00:42.360,0:00:46.160 blocks. Now let's help Scrat the squirrel[br]get that acorn!