Did not test, but it should work ( I never used ImageRectOverlap ) :
Global new1%=0 Global mouse%=0 new1=LoadImage blabla... mouse=LoadImage blabla... Function Highlight(a1%,a2%,a3%,a4%,a5%,a6%,a7%) If ImageRectOverlap(a1,a2,a3,a4,a5,a6,a7) DrawImage new1,200,200,0 EndIf End Function ;in game Highlight(mouse,MouseX(),MouseY(),300,250,205,31)