Ha ha! I have discovered a simple tactic to raycast! If you want to be able to do this kind of thing, check out https://en.scratch-wiki.info/wiki/Raycaster for more info. Just enjoy walking around this foggy map for now, I might make a game in the future!
Most of my knowledge came from scratch wiki, but everything else is mine.