Make the event a player-touch event, and add something like this:
conditional branch: player is facing left
set move route: this event, move left
end
conditional branch: player is facing right
set move route: this event, move right
end
And the same for up and down.