erm... but the easier way to check repeatedly would be
That's easier than the code above isn't it?
Also the code above could be simplified to
escapehit=keyhit(1) if escapehit ;... do stuff endif ;... something here to justify having two ifs if escapehit ;... do more stuff endif
That's easier than the code above isn't it?
Also the code above could be simplified to
If KeyDown(TAB) and Tab_held=false Switch_CameraMode() TAB_Held = true Else TAB_Held = false Endif