Shift click the green flag twice and set the sliders.
Before you say I blatantly copied @Canthiar's amazing project, remember that I changed a few scripts to speed things up a bit and added some sliders to adjust. Made this a while back, so credit to myself. It's almost scary how today Scratch can render real-time raytracing (at least on turbo mode).