noCursor() isn't working
in
Contributed Library Questions
•
2 years ago
I'm running a sketch full screen using SoftFullScreen and am trying to use noCursor() to hide the cursor. But the cursor doesn't hide. What am I doing wrong? Here's some example code:
- import fullscreen.*;
- SoftFullScreen fs;
- void setup() {
- size(screen.width,screen.height,P2D);
- noCursor();
- fs = new SoftFullScreen(this);
- hint(DISABLE_OPENGL_2X_SMOOTH);
- fs.enter();
- }
- void draw() {
- background(0);
- }
1