Name

noCursor()

Description

Hides the cursor from view. Will not work when running the program in a web browser or when running in full screen (Present) mode.

Examples

  • // Press the mouse to hide the cursor
    void draw() 
    {
      if (mousePressed == true) {
        noCursor();
      } else {
        cursor(HAND);
      }
    }
    

Syntax

  • noCursor()

Return

  • void

Related