Well, as far as i know, if you check for a mouse hit(), any further references to mousehit() will return false.
You should have kept the code the same as semar done it. It will work that way :)
if mousehit(1) then ;left mouse click ? flushmouse() ;reset mouse if imagesoverlap(mouse_img,mousex(),mousey(),button,buttonx,buttony) then my_img_status = 1 - my_img_status ;this will toggle between 0 and 1 endif endif
You should have kept the code the same as semar done it. It will work that way :)