As far as I can tell, it's fairly optimized, but just be careful scanning too much on low end devices I guess. click to scan, scans dots at mouse. WASD and Arrow keys to move. There are SOME references in the map. if you want easy mode for no reason and want to destroy the purpose of the project, press R, press again to play properly.
Credit to @_Cr1spy for some of the code, I had a lot of iterations before looking at their version of this idea for some help. Theirs is much better executed than mine, please go support it! Inspired by that one Garry's Mod thing that was popular some years ago.