Source Academy Modules
    Preparing search index...

    Function get_game_time

    • Gets the current in-game time, which is based off the start time. This function should be called in your update function.

      Returns number

      a number specifying the time in milliseconds

      if (get_game_time() > 100) {
      // Do something after 100 milliseconds
      }