Game Logic: getUseExternalClock

getUseExternalClock()
  • Returns if the BGE is using an external clock or the default BGE internal clock

Return Type:
  • boolean
Values:
  • True = The BGE is using an external clock
     
  • False = The BGE is using the default internal clock
Sample Code

################## get if BGE is using an external clock
  

# import bge
import bge
  
# get BGE clock status
status = bge.logic.getUseExternalClock()