Game Lab Cursor Change

Can we work out a way to hide the cursor or change the icon of the cursor?
CSS has cursor:none, but I can’t find any way in Game Lab.

If it is not possible, can we request this feature?


You can use noCursor() which will hide the cursor and make it invisible.


Perfect. Thanks a lot!

Small note, if you want to make the cursor reappear, use cursor(cursorType), where cursorType is the image or the label of the cursor you want to use. So you can either pass an image, or pass “grab” “default” “pointer” etc in it. Default is the cursor you have by default. You can read more about this on the p5.js website

1 Like