from sikuli.Sikuli import Screen, Location scr = Screen() t = scr.find(psc) scr.dragDrop(t, t.offset(Location(int(xoffset), int(yoffset))))