Source Academy Modules
    Preparing search index...

    Function enable_debug

    • Enables debug mode. Hit box interaction between pointer and GameObjects are shown with a green outline in debug mode. Hit box interaction between GameObjects is based off a rectangular area instead, which is not reflected. debug_log(...) information is shown on the top-left corner of the canvas.

      Returns void

      enable_debug();
      update_loop(game_state => {
      debug_log(get_game_time());
      });