I often have a sudden urge to play with an idea in scratch - today I wanted to try to put together a quick enemy AI This isn't a game, no goal - just move your mouse around and the AI try to reach it. These two enemies have full rotation and can turn away from obstacles. There's little more to it than that... going forward we would want to introduce some rudimentary path finding skills - either that or a short term memory of some sort to keep them from trying the same movement over and over when it fails each time. Have some fun - change the level costume - see how the enemy cope :)
just some AI Simple, yet effective GO HERE https://scratch.mit.edu/projects/1221383354/