top down homing enemy

im making a game and first of all i dont even now how to make a enemy that just moves side to side on an up down platform and i need it to home on you

Easy first you set a block and make it moveable, solid and affected by gravity.

Now the code: 1.Always>number(any)>velocity(Forward).
2. Collision(any type of chose from list)>flip(Toggle).

that is it.

how it works: well the “1.” is moving side to side at any speed you put it and “2.” is making it go back and forth coastally. The gravity will make it fall and the moveable make’s it move

thanks if you want to be in that game to i can add you

ok thanks