it turns on the motors when the color senser sees green turns off on red and starts running for 10 rotations when sees yellow if you dont like the amount of rotations press R to enter preffered amount