spriteX, spriteY

Queries the current position of a sprite, as set by the last call to spriteMove. For the meaning of the returned x and y values, please see plot. The returned location matches the pixel in the lower left corner of the sprite.

Usage

    integer_x = spriteX(sprite);
    integer_y = spriteY(sprite);