Skip to content

Commit 93618af

Browse files
author
Lucas Vieira
committed
Small syntax editions
Signed-off-by: Lucas Vieira <lucasvieira.escola@gmail.com>
1 parent 4e3cd69 commit 93618af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Tutorials/interactivity/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ <h3>Mouse buttons</h3>
396396

397397
def draw():
398398
background(204)
399-
if (mousePressed == true):
399+
if (mousePressed == True):
400400
fill(255) # White
401401
else:
402402
fill(0) # Black
@@ -1088,7 +1088,7 @@ <h3>Cursor icon</h3>
10881088
size(100, 100)
10891089
noCursor()
10901090

1091-
void draw():
1091+
def draw():
10921092
background(204)
10931093
if (mousePressed):
10941094
cursor()

0 commit comments

Comments
 (0)