I'm working on a Scratch project where I need to move a square that is half blue and half red along a specific path without touching the yellow edges. The goal is to reach a green spot at the end of the route I've been given in the book. However, I'm struggling to make it work properly. Any tips would be greatly appreciated!
2 Answers
Check out the code and path I used here. It might give you an idea of how to implement it! [Image of code and path](https://ibb.co/hF08cZG0) [Image of path](https://ibb.co/Kx4cNyqb)
Think of it like driving a car: if your red side gets close to the edge, you need to turn left (counter-clockwise). If your blue side is about to hit the edge, turn right (clockwise). This might solve the issue of getting stuck on the yellow edges. Also, consider making the path a bit wider just to be safe.

I've tried widening the path already, but it still gets stuck in the yellow. What should I do next?