what type of game are you making, depending on the type their are a few different ways.
If you are doing a top view style you could use the bullet function and just assign the object' angle of direction to the play's x and y
or you could use a pathfinding event. This is a bit harder but it works much better and the ai will be able to move around objects. again you will need to set up the path to the players x and y