q5play
    Preparing search index...

    Function log

    • ⭐ Logs a message to the JavaScript console.

      To view the console, open your browser's web developer tools via the keyboard shortcut Ctrl + Shift + i or command + option + i, then click the "Console" tab.

      Use log when you're curious about what your code is doing!

      Parameters

      • message: any

      Returns void

      q5.draw = function () {
      circle(mouseX, mouseY, 80);
      log('The mouse is at:', mouseX, mouseY);
      };