Game Logic: getLogicTicRate

getLogicTicRate()
  • Returns how many times per second the logic bricks are being executed. 

Return Type:

  • float number
Note:
  • The default is 60 times per second.
Sample Code

################## get the logic tic rate  
 
# import bge

import bge

# get the logic tic rate
ticRate = bge.logic.getLogicTicRate()