this is an enemy pathfinding engine. you put your mouse on a white space, then press the space bar. the cat will then find the easiest way from your mouse pointer to the apple.
Notes & Credits
thanks to griffpatch for his enemy pathfinding tutorial on youtube.