You can place spaces for the ray to travel to by clicking on the screen and change the color with the ball at the bottom (erase with the start flag)
There are a lot of glitches and I am still working on it