no_cursor()
Contents
no_cursor()¶
Hides the cursor from view.
Examples¶
1 2 3 4 5 6 | # press the mouse to hide the cursor
def draw():
if py5.is_mouse_pressed:
py5.no_cursor()
else:
py5.cursor(py5.HAND)
|
Hides the cursor from view.
1 2 3 4 5 6 | # press the mouse to hide the cursor
def draw():
if py5.is_mouse_pressed:
py5.no_cursor()
else:
py5.cursor(py5.HAND)
|