I did some messing abt with the flashlight script and I think this does look pretty good. I also replaced the forever loop in the raycast with a repeat until touching edge bc it didn't have out of bounds checks yet and gets laggy if it gets out of the map somehow.