Setvirtualresolution(640,480) ResetTimer() Repeat Printc("Direction Speed is: ") Print(GetDirectionSpeed()) Sync() Until Timer()>30 End