The car navigates through the simple maze and to the pink square on its own. A wall follows your mouse around. Use the 1-6 keys to change its shape. Have fun. The car should stop if it is stuck between 2 walls, but it might glitch through something if the walls are too close.
This is just a basic pathfinding script. Note: This may glitch if the car is trapped too tightly between 2 walls