ita possible to count the movement of a horizontal movement of sprite in only one direction?
Not sure what you are asking.
Maybe your answer is in
i like to count the movement using canvas and one sprite por create a illusion of movement in a scene. so i need count the movement of the sprite in the direction from left to right.
Use the X value of the sprite