To search for an image or color in an overlapped window, you need to bind UoPilot to the working window using Ctrl + A or findwindow and specify the window handle when searching.
Код
--lua
local h = findwindow('Your game')
if h then
workwindow(h[1][1])
end
local a = findimage(x1, y1, x2, y2, (pathtoimage), h[1][1])
local c = color(x, y, h[1][1])
the window cannot be minimized