I busy make a HTML 5 game that character can move to 4 direction when touch is true. so I want check if touch value is Positive, change animation to right and if touch value is Negative, change animation to Left. But I don't know how can check Negative or Positive Touch.
I used this condition for check Touch Position but good not work.
if Mouse.X - LayoutWidth/2 > 0 then Set Animation "Right"
Please Guide me to solve this problem.
Thanks a Lot.