![]() |
Retro Rocket OS
|
Returns the colour value of the pixel at the given coordinates within a sprite.
The top-left pixel of the sprite is (0, 0). The x value moves across from left to right, and the y value moves down from top to bottom.
If the sprite handle is invalid, or the coordinates are outside the sprite's dimensions, an error is raised.
See also: SPRITEWIDTH, SPRITEHEIGHT