this is a proof of concept flashlight idea for dark games! R to start/stop FL WASDEQ to move flashlight M will make object go to mouse P to make FL point at mouse M to make FL go to mouse F to render a single frame ArrowUP change object Arrows left/right, rotate object space to make object go to mouse
feel free to use this code in any game as long as you give me credit