When I change code with Jams suggestion it worked like this
but hey the point is that I got it work correctly with all of your help of course :)
If MouseHit(1) If ImagesCollide(mouse,MouseX(),MouseY(),0,quit,400,236,0) FlushMouse Cls Delay(500) If MouseHit(1) Locate 0,0 EndIf End ElseIf ImagesCollide(mouse,MouseX(),MouseY(),0,play,400,108,0) FlushMouse Cls Delay(500) If MouseHit(1) Locate 0,0 EndIf
but hey the point is that I got it work correctly with all of your help of course :)