Use Arrow keys to move, press space and arrow keys to run I was trying out more ways to make an AI wander. I came upon this while making an AI for Baldi. He can pathfind better. Though it is 1 in 4 chances the AI can find the player (25% chance) but it does work for the most part. Thumbnail Baldi render made in Paint 3D and 3D Viewer