Scene: suspended

suspended
  • checks to see if the scene has been suspended

Return Type:

  • boolean
     
  • Scene suspended: 1 or True
     
  • Scene not suspended: 0 of False
Sample Code

################## check to see if the scene is suspended
 

# import bge
import bge

# get current scene
scene = bge.logic.getCurrentScene()

# check to see if scene suspended
check = scene.suspended