|
Post by jrash06 on Aug 26, 2016 15:45:48 GMT
Does Location / Region have methods like getColor()? If so, what's the return value like?
|
|
Kako
Contributors
Posts: 105
|
Post by Kako on Aug 27, 2016 13:16:16 GMT
Does Location / Region have methods like getColor()? If so, what's the return value like? How to use getColor() is described very clear in the Advanced Methods thread: getColor(PSMRL [, seconds]) This function will return 3 value (R, G, B) of the target location.
r, g, b = getColor("target.png") toast("Red: " .. r .. ", green: " .. g .. ", blue: " .. b)
|
|
|
Post by jrash06 on Aug 29, 2016 22:42:33 GMT
I see. thx
|
|