Although i am working on a new one to save time
The new 1.2 version still takes too many pictures of rs so im gonna take one per loop if i can and it will scan like this
dim colorarray() as color
dim coloramt as integer
scan function--
for i as integer = 0 to coloramt
for x as integer = 0 to bmap.x
for y as integer = 0 to bmap.y
if(colorarray(i) = getpixel(x,y)
return new point(x,y)
end if
next
next
next
would be something like that