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