mousehit.bmx 194 B

1234567891011
  1. ' mousehit.bmx
  2. graphics 640,480
  3. while not keyhit(KEY_ESCAPE)
  4. cls
  5. if mousehit(1) drawrect 0,0,200,200
  6. if mousehit(2) drawrect 200,0,200,200
  7. if mousehit(3) drawrect 400,0,200,200
  8. flip
  9. wend