um just put both the code in the loop. a normal game starting loop for me starts with: ACLS XSCREEN 2 X=0:Y=0 WHILE 1 VSYNC WEND I made a function to put all that automatically with the press of one button, and it was very small and easy to write (I think 4 or 5 lines of code)