Just click the green flag to see the cat move along the black line.
This cat sprite uses its colored ears and nose to help figure out whether it's on the black line. Open up the scripts to see how it decides which way to turn! From Chapter 6 of "Learn to Program with Scratch" (nostarch.com/learnscratch), by author Majed Marji.