|
Post by swoogi on Feb 3, 2020 21:32:25 GMT
Hello,
is it possible after I used
Region:exists(Pattern("pic.png"), 1)
to get the x and y from this match?
regards
|
|
|
Post by Exilereven on Feb 3, 2020 23:18:13 GMT
local x = getLastMatch():getX()
local y = getLastMatch():getY()
print(x,y)
|
|
|
Post by oomkoos on Feb 4, 2020 7:25:26 GMT
What exilereven said, and add getCenter() to get the center of the image x and y
|
|
|
Post by swoogi on Feb 4, 2020 11:23:06 GMT
Thank you very much!
|
|