Hey danul,
You can make an event that compares the X of the touch/mouse postion. It looks like this:
Condition: Hero X < Mouse.X
Action: Hero set X to Hero.X+1
Condition: Hero X > Mouse.X
Action: Hero set X to Hero.X-1
Once you have that working you can tweak it a little bit so its not so jerky. Maybe you would only make him move when the Hero.X is greater than the Mouse.X + 5.