This is something I had sitting in my projects folder for a while before I decided to share it. Move the mouse around the screen. You can press the space key to change the demo. You'll see the distances change on the left - these are the steps between your mouse and the obstacle blocking it (divided by 15). I wanted to create something that just measured distances around the sprite and pop it in a list, so here we are... *It actually works better (frame rate wise) without turbo mode.*