Script detection of paused

Is there a way I can tell in my script if the game has been paused or unpaused?

Comments

  • If I remember right, the update function will still be called in your script, but with a delta of 0 when the game is paused. With that you can detect pause or not.
  • Oh! This was QUITE handy. Thank you!
  • Note: headless server does not pause
Sign In or Register to comment.