GetColor

BlitzMax Forums/BlitzMax Beginners Area/GetColor

No command but you can use this
Function getpixelcolor:Int(x:Int,y:Int)
	Local mypix:TPixmap=GrabPixmap(x,y,1,1)
	Return ReadPixel(mypix,0,0)
End Function

<edited> to actually use x/y