I’m allowed to use only get(), background() methods and color data type.
How can I check that the given pixel (x,y), is background colored(black) or not ?
I can’t figure it out from the references.
Use
color c1=get(x,y);
if(c1!=color(0))
1 Like
Thank you it works! But with the default color of the point, which is 30 and not black. It’s my bad.
1 Like