Untitled
unknown
plain_text
2 years ago
592 B
6
Indexable
if x > 0 and x < 190 and y < -150 and y > -200:
# they are trying to change the color
if x > 30 and x < 50 and y > -170 and y < -150:
canvas.chosen_color = "red"
if x > 60 and x < 80 and y > -170 and y < -150:
canvas.chosen_color = "orange"
if x > 90 and x < 105 and y > -170 and y < -150:
canvas.chosen_color = "yellow"
if x > 120 and x < 140 and y > -170 and y < -150:
canvas.chosen_color = "green"
if x > 150 and x < 170 and y > -170 and y < -150:
canvas.chosen_color = "blue"Editor is loading...
Leave a Comment