; FlushMouse Example ; ------------------ Graphics 640,480,0,2 SetBuffer BackBuffer() ; Mouse clicks queue up until your program reads them. FlushMouse ; empties that queue - call it before a "click to continue" prompt ; so a stale click cannot skip it. flush_mode=1 quit=0 Repeat ; Start each round with an empty click queue FlushMouse ; Phase 1: click wildly - the clicks stay queued because nothing ; reads MouseHit during the countdown finish=MilliSecs()+3000 While MilliSecs()