How do you make image sprite not go beyond a certain coordinate?

You could put a small Ball at the target location, set the moving Sprite in motion towards the small Ball, and stop the Sprite then it collides with the Ball.
Sample: