Matty #1 Or you could do this:If millisecs()>FrameTime then DrawGame():FrameTime=Millisecs()+FramePeriod