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

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.