Compare 2 value player.x is less then enemy.x
And have an action that simulate platformer movement make sure to make a another one of these for the opposite direction and make it greater then
And if you want to make it jump there a few ways i know you can do
1 platformer behavior enemy is by wall jump simulate jump
2 player.y is less then enemy.y simulate jump
3 have the player spawn an object when they jump that if the enemy is on collision with the object the player spawn it will simulate jump