Detecting colors

i wanna know how to detect any color and report their value

like if it detects purple, it will return the rgb, or a strange color, it will also return the rgb of it

Of course this grabs the color from the center of the sprite.


i want it to detect a color from a position

untitled script pic (40)

Detects the color from (0, 0)