Use the ImagePointX and ImagePointY expressions of your sprites, passing in either your image point index or name in parentheses after the expression. For example
Sprite.ImagePointX(0) returns the X coordinate of the image point at index 0(which is the origin) of Sprite.
Sprite.ImagePointX("bob") returns the X coordinate of the image point named "bob" of Sprite.