Setvirtualresolution(640,480) ResetTimer() CreateEditBox(1) SetEditBoxPosition(1,10,100) SetEditBoxMaxChars(1,10) //Give edit box 1 focus, ready for input SetEditBoxFocus(1,1) Repeat Sync() Until Timer()>20 End