X to set the X of the AI to the mouse X. Y to set the Y of the AI to the mouse Y. Space to move the AI to center of the screen. ========[HOW DOES THIS WORK?]======== The AI would move by random numbers. So its actually not real AI, but its an EZ AI! What happens is that the sprite picks a number from 1-5. 2 of these are moving, 2 of them are turning, and 1 of them is doing nothing. And a bounce on edge. Easy and simple!
Code inspired by 3kliksphilip from a different game engine. Pretty much exactly the same thing, but remastered.