if you just use Memblock dword(Mem,Pos) then it will give you the RGB value of that pixel and to get each indavidule(idk how to spell that

) color then use
RGBR()
RGBG()
RGBB()
Optionally You can use memblock byte(Mem,Pos+Offset) where Offset is which color your want(r,g,b)
oh and by the way the 4th byte of the dword is the alpha value for that pixel.
Oh and that formula works only for 32bit mode. actually the best way to use that formula is this
Depth = Screen Depth()
Pos = ((Y*Width)+X)*(Depth/4)+12
so 16 bit is 4 bytes per pixel 32 is 8 64 is 16 and so on... thats a more versitle way.
New Site! Check it out \/