Game Logic: setUseExternalClock

setUseExternalClock(bool)
  • Set if the BGE is using an external clock or the default BGE internal clock

bool Type:
  • boolean
Values:
  • True = Use an external clock
     
  • False = Use the BGE internal clock
Sample Code

################## set the BGE clock type
  

# import bge
import bge
  
# use the BGE internal clock
bge.logic.setUseExternalClock(False)