This is a method of RNG Pathing that has the tracing sprite bounce off the walls, hence the name "ricochet pathing." The method uses code where the ball simply turns 44.5 degrees and bounces off the wall. The sprite that is tracing also is moving 10 steps per frame at an average rate of 30 frames per second. If you turn on turbo mode (click the flag while holding the shift key), you can see that eventually, the path will create a grid pattern.