Render: getFullScreen

getFullScreen()
  • Returns if the game window is full screen on the display

Return: 
  • True: game window is full screen
     
  • False: game window isn't full screen
    Note:
    • Used with the BGE Standalone Player
      • Properties menu >> Render button >> Standalone Player

        or
         
      • Info menu >> File >> Export >> Save As Game Engine Runtime
    Sample Code

    ################  get game window full screen status

    # import bge module
    import bge

    # get the render module
    rend = bge.render

    # get full screen status
    status = rend.getFullScreen()