check the manual, lol.
It's a combination of functions...
Code:
bmap IDK = "Whatever.bmp";
var Color[4];
//
Function readThis(_x, _y, _format, &outColor)
{
var pixel;
pixel = pixel_for_bmap(mapIDK, _x, _y);
pixel_to_vec(color, color[3], _format, pixel);
}
Input X, Y, and FORMAT of bmap. outColor is the return vector of length
4. The fourth (really [3]) is the alpha value...