The way the code is set up, the sprite should stop moving when it touches the red line. The code if touching color, then stop all was used, and I made sure to make the line big enough so there was no way for the sprite to miss it. However, the sprite just keeps moving back and forth and doesn't stop even when it is on the red line.