In this AI test I made the AI track the player when it's above the player (not programmed to track when it's below the player). Side note, the AI is relatively slow to track the distances between the walls in order to reach the player. Feel free to remix or use the code I wrote.