Copyable Example Code
You can paste this into the code editor; still verify target image, region, color, text, and timing values in your own device flow.
-- Belirli alanda resme tikla / Click image in region
-- Parametreler: x, y, w, h = alan koordinatlari
-- mScore = eslesme hassasiyeti (0-100), timeout = max bekleme ms
local x, y, w, h = 0, 400, 1080, 800
local mScore = 80
local timeout = 5000
Snap.screenRefresh()
local region = Region(x, y, w, h)
local param = FindParam.mScore(mScore)
param:timeout(timeout)
local match = region:find(Asset.image("hedef_buton"), param)
if match then
toast("Bulundu, tiklaniyor...")
quickTap(match)
wait(300)
else
toast("Gorsel bulunamadi")
end